Location/Offset of Actual Graph area within TeeChart control

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Aaron.Peronto
Newbie
Newbie
Posts: 20
Joined: Fri May 26, 2006 12:00 am

Location/Offset of Actual Graph area within TeeChart control

Post by Aaron.Peronto » Thu Dec 07, 2006 7:06 pm

I am currently trying to find the proper properties on the TeeChart control to access to obtain information about the size and location of the actual plot area on the control.

What I am looking for is the position of the upper left corner of the actual plot area (the part contained within the axes, not the axis labels, padding, margins whatever else is outside the axes) and the lower right corner of that same area. I need this point relative to the upper left corner of the entire TeeChart control itself.

I thought I should be able to get it from the Axes.Left.Position, Axes.Top.Position properties but the Top value appears to always be 0.

I do not currently have anything plotted using the Top or Right axes so I am not sure if these should be giving me back the data I am seeking.

By the way, this is now using the latest 40 day eval version of TeeChart .NET.

Thanks for your help again.

Aaron.Peronto
Newbie
Newbie
Posts: 20
Joined: Fri May 26, 2006 12:00 am

Post by Aaron.Peronto » Thu Dec 07, 2006 8:07 pm

Once again, I run into the situation where I try for a while without success to find my own answer, post my question and a few minutes later I find the answer I was looking for all along.

The IStartPos and IEndPos values for the Axes.Left and Axes.Top get me the information that I wanted.

Post Reply