Aligning the Vertical Axes of Two Charts

TeeChart for ActiveX, COM and ASP
Post Reply
jbell
Newbie
Newbie
Posts: 9
Joined: Thu Apr 09, 2009 12:00 am

Aligning the Vertical Axes of Two Charts

Post by jbell » Fri Jul 23, 2010 8:57 pm

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
Attachments
A.gif
Before
A.gif (14.65 KiB) Viewed 4237 times
B.gif
After
B.gif (16.75 KiB) Viewed 4220 times

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

Re: Aligning the Vertical Axes of Two Charts

Post by Yeray » Mon Jul 26, 2010 2:00 pm

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.
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