Axes Synchronization problem

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Axes Synchronization problem

Post by Amol » Thu Mar 19, 2009 10:25 am

I am using two axes Left and Right. The values assigned to these are as follows:-

Left Axes Right Axes

100 1000
200 1500
300 2000
400 3000
500 3500
600 5000
700 5500
800 6000
900 8000
1000 10000

We show the series on T-Chart with the Left and Right Axes and we expect Left-Right Axes relationship to be the maintained. But T-Chart distributes the Right axes uniformly which finally disturbs the Left-Right Axes relationship. Which is not correct.

To overcome this issue we used custom labels for the Right axes,
but what we want to know is that is there any better solution to the problem stated above for which we do not have to work additionally for setting the custom labels on correct position and the Left-Right Axes relationship is also preserved.




With Regards,
Amol

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Mar 19, 2009 12:08 pm

Hi Amol,

I'm not sure to understand what are you exactly trying to do here. Do you have one series assigned to both vertical axis? Or two series, one assigned to the left axis and one to the right axis?

Maybe a picture would be better for us to see what is the result you expect.

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Amol
Advanced
Posts: 176
Joined: Mon May 29, 2006 12:00 am

Axes Synchronization problem

Post by Amol » Fri Mar 20, 2009 5:34 am

Hi Yeray,

I have attached the code as well as the snap on the same location that you specified to give you a better picture of the steps i am following to get the desired result. The series is assigned to the left axis only.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Fri Mar 20, 2009 10:07 am

Hi Amol,

I'm afraid that TeeChart can only calculate automatically the axis labels while they remain proportional. In you application, the increment isn't proportional so using custom labels is the only way to achieve this I can think for now.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply