Positioning of Y Axes
-
- Newbie
- Posts: 12
- Joined: Fri Mar 19, 2004 5:00 am
Positioning of Y Axes
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?
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
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
Pep Jorge
http://support.steema.com
http://support.steema.com