Page 1 of 1

How to dynamically adjust postion of a custom axis?

Posted: Tue Jun 20, 2006 6:51 pm
by 9637279
Hi,
I have a custom axis to the left of the Left axis.
On occasion I need to move the custom axis more to the right.
However the .Position property is ReadOnly - not so in the
Chart editor.

How can I dynamically adjust a custom axis?

Thanks,
fano

Posted: Wed Jun 21, 2006 8:28 am
by narcis
Hi fano,

Use:

Code: Select all

      axis1.PositionUnits = Steema.TeeChart.PositionUnits.Pixels;
      axis1.RelativePosition = 20;