Axis Position

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Tenaris
Newbie
Newbie
Posts: 10
Joined: Thu Nov 25, 2010 12:00 am

Axis Position

Post by Tenaris » Tue Feb 15, 2011 6:41 pm

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Axis Position

Post by Sandra » Wed Feb 16, 2011 11:33 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply