Page 1 of 1

Pie Chart with Legend Values

Posted: Tue Jun 09, 2009 9:50 pm
by 15050540
Hi there,

How do I create a pie chart with the text values in the legend?
Right now all that is in the legend is the series name...
Is there anyway to change it to the pie chart text values?

Can you please post some example code?

Thanks,
Landa

Posted: Wed Jun 10, 2009 7:34 am
by yeray
Hi Landa,

Simply doing this:

Code: Select all

TChart1.Legend.LegendStyle = lsValues

Posted: Wed Jun 10, 2009 3:56 pm
by 15050540
That worked! Thanks a lot.