grid with 2 custom x-axes
grid with 2 custom x-axes
How can I assign a separate grid to two separate Y-axis? I have a chart that has a custom Y-axis from 80-100% and the default Y-Axis from 0-80%. The first Y-Axis also has a custom X-Axis. But the grid of both chart areas reach over the whole chart. How can I change this to have one grid in the lower part (80-100%) that will only cover 80-100% and the other grid cover 0-80% of the Y-Area?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Joachim,
You can do something like this:
Where axis1 is your vertical custom axis from 80-100% and axis2 is your custom bottom axis.
You can do something like this:
Code: Select all
colorGrid1.HorizAxis = Steema.TeeChart.Styles.HorizontalAxis.Bottom;
colorGrid1.CustomVertAxis= axis1;
colorGrid2.VertAxis = Steema.TeeChart.Styles.VerticalAxis.Left;
colorGrid2.CustomHorizAxis= axis2;
tChart1.Aspect.ApplyZOrder = false;
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 |