Page 1 of 1

Aligning the Vertical Axes of Two Charts

Posted: Fri Jul 23, 2010 8:57 pm
by 15052934
Hello,

I've used TeeChart AX v8 to create a window that can be configured to contain up to 18 plots in a grid. My users would like to see all of the plots in a column drawn with aligned vertical axes. That is, for the far left and rights sides of the plots to be drawn at the same screen-wise X coordinate. If you see the attached pictures: A is how the test plots look by default and B is how it is desired for them to look. So essentially what I'm asking is: Given the two plots shown in A, what is the best way to make them look like B?

Right now, I figure can use the Panel interface to adjust the margins and achieve the result I want but those values are relative. I can't figure out how to find the exact screen coordinates of the left and right vertical bounds in order to determine how to set those margins.

Thanks,
Matt

Re: Aligning the Vertical Axes of Two Charts

Posted: Mon Jul 26, 2010 2:00 pm
by yeray
Hi Matt,

This was discussed here some time ago. If you find any problem translating the code from delphi, don't hesitate to let us know.