Aligning Y-axis
Aligning Y-axis
I have two controls stacked on top of one another. They 'share' the same BOTTOM axis which is only displayed on the bottom control. They have their own RIGHT axis. I need the RIGHT axis to be drawn in the same position so that they line up. Can you help?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Rossmc,
You can use a custom axis as right axis and then setting the chart right margins (see code below) at your convenience should do the trick
You can use a custom axis as right axis and then setting the chart right margins (see code below) at your convenience should do the trick
Code: Select all
TChart1.Panel.MarginUnits = muPixels
TChart2.Panel.MarginUnits = muPixels
TChart1.Panel.MarginRight = 50
TChart2.Panel.MarginRight = 50
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |