Im migrating my Chart code from visifire to Toolkit. I would like to know the counter part of ColorSet property[sample value Caravan,Picasso..] of Visifire to Toolkit.
Is there any?
TIA
Im migrating my Chart code from visifire to Toolkit. I would like to know the counter part of ColorSet property[sample value Caravan,Picasso..] of Visifire to Toolkit.
Is there any?
TIA
At first you need to copy color codes from a Visifire color set. They are defined in the file
(Visifire source code)\Common\SLVisifireCharts\ColorSets.xaml
or here.The counterpart of the
ColorSet
property is thePalette
property, which takes complex dictionary of resources. Here is the example for theCaravan
color set:And it is applied to the chart so:
Although I have applied the same colors, the toolkit chart differs a lot and has rather bright colors:
I can change the template of the column, but I'm not designer and the result is still different:
And one last remark: toolkit chart doesn't render different colors for a single series. If you have 1 item in the legend - all categories will be the same color. And this behavior can't be changed.