Pie Chart with Legend Values

TeeChart for ActiveX, COM and ASP
Post Reply
landa
Newbie
Newbie
Posts: 30
Joined: Thu Oct 16, 2008 12:00 am
Location: Chico, CA

Pie Chart with Legend Values

Post by landa » Tue Jun 09, 2009 9:50 pm

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

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

Post by Yeray » Wed Jun 10, 2009 7:34 am

Hi Landa,

Simply doing this:

Code: Select all

TChart1.Legend.LegendStyle = lsValues
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

landa
Newbie
Newbie
Posts: 30
Joined: Thu Oct 16, 2008 12:00 am
Location: Chico, CA

Post by landa » Wed Jun 10, 2009 3:56 pm

That worked! Thanks a lot.

Post Reply