Location/Offset of Actual Graph area within TeeChart control
Posted: 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.
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.