Pie chart legend

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
SPS
Newbie
Newbie
Posts: 27
Joined: Tue May 26, 2009 12:00 am

Pie chart legend

Post by SPS » Tue Nov 17, 2009 12:59 pm

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

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Pie chart legend

Post by Yeray » Tue Nov 17, 2009 3:06 pm

Hi SPS,

Please take a look at the demo at All Features\Welcome !\Miscellaneous\Legend\OnDrawSymbol Event where custom symbols are used.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply