I have several charts stacked vertically, each has a single Tlineseries and covers the same x-range calues. The y-values of each chart are different. When the y ranges between charts differ the actual x=0 axis of the charts do not line up with each other, but I need them to line up. ie.
if both charts chart1 and chart2 ymin/ymax are 20 to 40 they line up.
if chart2 now becomes -20 to +40 then the x=0 axis for the chart moves a few pixels to the right, ie. the area of screen required for the y values now needs an extra few ixels to accomodate the - sign.
I can kludge this by altering the marginleft for each chart, but it would be cleaner if there was some property which allows a fixed number of pixels for the y-axis value labels.
Any pointers much appreciated.
thanks,
Sean
Axis and Margin
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Sean,
Yes, you can do that using LabelsSize:
Yes, you can do that using LabelsSize:
Code: Select all
Chart1.LeftAxis.LabelsSize:=30;
Chart2.LeftAxis.LabelsSize:=30;
Chart3.LeftAxis.LabelsSize:=30;
Chart4.LeftAxis.LabelsSize:=30;
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 |
-
- Newbie
- Posts: 48
- Joined: Fri Mar 12, 2004 5:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
No problem Sean. I'm glad to hear this solved your problems.
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 |