Hi,
to display international series identifier I tried to access the ChartLegend.Items[0].text. Why? Changing the series names lead to problems with international characters.
The ChartLegend.Items text may be set but there is a problem in positioning. New text each is drawn with postion 0,0 (upper left corner) when I try to set the text in an OnShow event. An test using a button leads to different behavior: if the legend position is manual, it works well. If the legend position is auto the frame is repositioned due to a new legend width but text is drawn at the former position.
Looks like the Text is drawn before the frame position is fixed. I do not have the code to find a solution...
I use Delphi6 and TC 7.07
Is there any workaround for this item?
Thanks, Ulfert
Customizing Legend Text
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Ulfert,
Have you tried doing this in the OnGetLegendText event?
Have you tried doing this in the OnGetLegendText event?
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |