Page 1 of 1

"PositionPercent" property doesn't exist in axes p

Posted: Tue Oct 30, 2007 2:20 am
by 9637789
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



Posted: Tue Oct 30, 2007 9:48 am
by narcis
Hi swip,

You should use RelativePosition instead:

Code: Select all

WebChart1.Chart.Axes.Left.RelativePosition = 20;

Posted: Wed Oct 31, 2007 1:51 am
by 9637789
Thanks for your help!