Page 1 of 1

Axis Position

Posted: Tue Feb 15, 2011 6:41 pm
by 15657926
Hi
I need to draw a chart to an axe position.
For example, when i set leftAxis.EndtPosition = 50, i need that the 50 value it will be in pixels not a percent value.
How can i do that?

Because, When i do this
leftAxis.StartPosition = 0;
leftAxis.EndtPosition = 50;
and my graph grow up, the end position always set in the midle of the axis.

Thanks in advance

Re: Axis Position

Posted: Wed Feb 16, 2011 11:33 am
by 10050769
Hello Tenaris,

If you want that Start and End positions are pixels, you need use property of axes StartEndPositionUnits as do in below line:

Code: Select all

 axis.StartEndPositionUnits = Steema.TeeChart.PositionUnits.Pixels;
I hope will helps.

Thanks,