"PositionPercent" property doesn't exist in axes p

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
swip
Newbie
Newbie
Posts: 8
Joined: Mon Jul 18, 2005 4:00 am

"PositionPercent" property doesn't exist in axes p

Post by swip » Tue Oct 30, 2007 2:20 am

Hi
I'm using TeeChart Pro v2 for Visual Studio .NET 2003
In your TeeChart Charting Library you say that creating extra axes is possible via a few lines of code,and one line of the code is like this:
axis1.PositionPercent = 20;
But the "PositionPercent " doesn't exist in the axes properties.
and when I use the "Position" Property like this:

WebChart1.Chart.Axes.Left.PositionUnits = Steema.TeeChart.PositionUnits.Percent;
WebChart1.Chart.Axes.Left.Position = 20;

the error is :"Steema.TeeChart.Axis.Position" is read only!
How to solve this problem?

Best regards



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

Post by Narcís » Tue Oct 30, 2007 9:48 am

Hi swip,

You should use RelativePosition instead:

Code: Select all

WebChart1.Chart.Axes.Left.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

swip
Newbie
Newbie
Posts: 8
Joined: Mon Jul 18, 2005 4:00 am

Post by swip » Wed Oct 31, 2007 1:51 am

Thanks for your help!

Post Reply