How to dynamically adjust postion of a custom axis?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
fano
Newbie
Newbie
Posts: 56
Joined: Wed Jun 22, 2005 4:00 am
Location: USA, California

How to dynamically adjust postion of a custom axis?

Post by fano » Tue Jun 20, 2006 6:51 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Jun 21, 2006 8:28 am

Hi fano,

Use:

Code: Select all

      axis1.PositionUnits = Steema.TeeChart.PositionUnits.Pixels;
      axis1.RelativePosition = 20;
Best Regards,
Narcís Calvet / 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