Legend Size

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Legend Size

Post by nbp » Wed Apr 04, 2007 7:26 pm

How do I change the size (width) of a legend in the code? My legend is placed to the right of the chart.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Apr 05, 2007 10:06 am

Hi nbp,

Legend automatically accommodates to text's width and I'm afraid setting a specific width is not possible for now. The only way I can think of to achieve that is using OnGetLegendText event to add blank spaces to the text to make the legend wider.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply