Hi,
I have several charts on the screen and I need the top and bottom axis to be aligned for all the charts. In one of the chart, I have Bottom axis visible with labels and a caption and for another one, I don't want any axis to be visible (and no label nor caption). How can I specify this chart's axis to be placed at the same position than the bottom axis of the other chart? I need to do the same thing for top axis.
Thanks
Align top and bottom axis for several charts
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hi -
Using the TeeChart Pro AXv6 you can specify the Margins of a chart (the space between the edge of the chart and the chart axes) in pixels, e.g.I have several charts on the screen and I need the top and bottom axis to be aligned for all the charts. In one of the chart, I have Bottom axis visible with labels and a caption and for another one, I don't want any axis to be visible (and no label nor caption). How can I specify this chart's axis to be placed at the same position than the bottom axis of the other chart? I need to do the same thing for top axis.
Code: Select all
Private Sub Form_Load()
With TChart1
.AddSeries scLine
.Series(0).FillSampleValues 20
.Panel.MarginUnits = muPixels
.Panel.MarginBottom = 60
End With
End Sub
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/