Hello,
I'm experiencing problems with the left axis values whenever I resize my teechart windows. If the values being plotted are reasonably large (in the thousands), the left axis values get chopped off when I resize the window.
My Chart->LeftMargin is currently set to 5, and the margin units are percentage. This is ok initially, but as the chart size is reduced, the margin simply isn't big enough to show the entire values. Is there a setting I can choose to always force the axis values to be visible, or some sort of calculation I can do to work out how much space the numbers are going to take up and then adjust the margin accordingly?
Andrew
automatically adjusting the left margin on resize
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Andrew,
You could use Chart1.Axes.Left.MaxLabelsWidth property and modify left margin accordingly.
You could use Chart1.Axes.Left.MaxLabelsWidth property and modify left margin accordingly.
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 |