Hi TeeChart Team,
I am developing a chart with multiple axes, among which only 1 axis is visible at any time. This is to make the user think that they are viewing just the same axis all the time. However, I am facing a big problem, since my custom axes that I created and show/hide (in addition to having the default axis.left) cannot be positioned exactly at the same location that the axis.left is located.
I don't know what properties or objects to manipulate to achieve this requirement. I have heard people in this forum discuss about "chart rect", "chart inner region", "chart boundary", "chart title", "axis label" etc., but I really need to understand first what they are and the relationship between them. Which one is the outermost, which one contains the others?
Can you please help me understand these concepts, and suggest me a method to locate my axes precisely?
Thank you.
Huy
Replacing axis.left by custom axis (axes) & positioning
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Huy,
Basically there's the chart and its ChartRect. The chart is the whole object panel. ChartRect is the area where series are drawn and is delimited by default axes settings.
Also notice that custom axes don't update margins automatically. You may need to set them as well.
For further information on axis please read Tutorial 4 - Axis Control. You'll find the tutorials at TeeChart's program group.
Basically there's the chart and its ChartRect. The chart is the whole object panel. ChartRect is the area where series are drawn and is delimited by default axes settings.
Also notice that custom axes don't update margins automatically. You may need to set them as well.
For further information on axis please read Tutorial 4 - Axis Control. You'll find the tutorials at TeeChart's program group.
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 |