Axis Label Angle Changes Size of Frame

TeeChart for ActiveX, COM and ASP
Post Reply
Bluefin
Newbie
Newbie
Posts: 7
Joined: Mon Mar 06, 2017 12:00 am

Axis Label Angle Changes Size of Frame

Post by Bluefin » Thu Jan 27, 2022 7:58 pm

For the life of me I cannot figure out how to standardize the size of the frame. If I have two charts side by side and I want the frame sizes to be identical regardless of the data, all is well if I keep the label angle at zero. However, if one chart has an angle of say 90, it reduces the vertical size of the frame so the longer labels will fit. I can fudge it by trying to adjust the chart height based on the maximum label length, but it's impossible to be accurate. There has got to be a better way to make sure TeeChart does not change the size of the frame. The documentation does not appear to shed light on this.

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

Re: Axis Label Angle Changes Size of Frame

Post by Yeray » Fri Jan 28, 2022 7:23 am

Hello,

You could do something similar to the LeftAlignCharts method here but for the Bottom axis.
Don't hesitate to let us know if you find problems with it.
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

Post Reply