Jump to content
Software FX Community

Custom Palette


User (Legacy)

Recommended Posts

I have created a custom pallete just as you said. (I included the .pal and 

.resource file) But setting the Chart.palette property does nothing. here

is my code.

Chart1.Palette =

"D:\\Inetpub\\wwwroot\\client\\catCampaignCentral\\CatCampaignCentral\\Reports\\Resources\\Caterpillar.resources|Caterpillar.pal|Main"

Please tell me what I am doing wrong.

Thanks,

Chris

Link to comment
Share on other sites

Chris,

Thank you for your post.

There were two possibly three problems with your pal file. You need 49

(exactly) colors at the top AND you need 16 (exactly) for the series colors.

Lastly, if you are using ChartFX for .NET 6.0 the pal file will work.

However, with ChartFX for .Net 6.2 you need to add some extra values for new

colors. The website was incorrect I will get it fixed.

Please see attached pal file with my comments inside

Hope this helps.

-c

"Chris Francis" <cfrancis@jacksongroup.com> wrote in message

news:OejBOB0oFHA.4084@webserver3.softwarefx.com...

>I have created a custom pallete just as you said. (I included the .pal and

> .resource file) But setting the Chart.palette property does nothing.

> here

> is my code.

>

> Chart1.Palette =

> "D:\\Inetpub\\wwwroot\\client\\catCampaignCentral\\CatCampaignCentral\\Reports\\Resources\\Caterpillar.resources|Caterpillar.pal|Main"

>

> Please tell me what I am doing wrong.

>

> Thanks,

> Chris

>

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...