Replacing axis.left by custom axis (axes) & positioning

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
huy
Newbie
Newbie
Posts: 22
Joined: Fri Dec 29, 2006 12:00 am

Replacing axis.left by custom axis (axes) & positioning

Post by huy » Mon Nov 12, 2007 3:33 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Nov 12, 2007 9:21 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply