Page 1 of 1

Axes position

Posted: Tue Dec 01, 2009 11:32 am
by 13052926
Sorry to be a pain, but now I am struggling with the positioning of the right axis.

I really need the position of the axis to remain a constant distance from the side of the chart panel regardless of the label length.

I have tried:
chart.axes.right.automatic = false (this makes little difference in general)
chart.axes.right.labels.autosize = false
chart.axes.right.labels.size.width = 40

I have two charts stacked on top of one another so I really need the right side axes to line up.

Thanks

Re: Axes position

Posted: Tue Dec 01, 2009 2:15 pm
by narcis
Hi rossmc,

Try using Labels.Customsize for that:

Code: Select all

         tChart1.Axes.Right.Labels.CustomSize = 40;
Hope this helps!