Positioning of Y Axes

TeeChart for ActiveX, COM and ASP
Post Reply
ellab_user
Newbie
Newbie
Posts: 12
Joined: Fri Mar 19, 2004 5:00 am

Positioning of Y Axes

Post by ellab_user » Fri Jun 18, 2004 9:37 am

We are using TeeChart ActiveX v6.0.0.4, where we can have up to 4 Y axes(including Left). It is very difficult to position these axes (also using .Labels.MaxWidth()), and the Left margin seems to jump on the first resize even if it is set to a constant. The position seems to vary greatly according to the width given to the margin. Are there any examples or help on positioning Y axes?

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Jun 21, 2004 10:39 am

Hi,

you can calculate the width of the axes and the set a position the the other using :

AxisWidth = .Axis.Left.AxisPen.Width + .Axis.Left.Labels.Width(100) + .Axis.Left.MinorTickLength + 20

Post Reply