Page 1 of 1

Positioning of Y Axes

Posted: Fri Jun 18, 2004 9:37 am
by 9081534
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?

Posted: Mon Jun 21, 2004 10:39 am
by Pep
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