Page 1 of 1

Pie chart legend

Posted: Tue Nov 17, 2009 12:59 pm
by 15653372
Hello,

I have a little question:

How can i set the legend of a piechart dynamicly?
I have used this sentence:

tchart.Chart.Legend.LegendStyle = Steema.TeeChart.WPF.LegendStyles.Values

but this one uses default colours and i want to use my own color for each item.

Thanks

Re: Pie chart legend

Posted: Tue Nov 17, 2009 3:06 pm
by yeray
Hi SPS,

Please take a look at the demo at All Features\Welcome !\Miscellaneous\Legend\OnDrawSymbol Event where custom symbols are used.