Page 1 of 1

Axes Synchronization problem

Posted: Thu Mar 19, 2009 10:25 am
by 9641422
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

Posted: Thu Mar 19, 2009 12:08 pm
by yeray
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.

Axes Synchronization problem

Posted: Fri Mar 20, 2009 5:34 am
by 9641422
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.

Posted: Fri Mar 20, 2009 10:07 am
by yeray
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.