Screen position

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jjs2002
Newbie
Newbie
Posts: 4
Joined: Tue Jul 08, 2003 4:00 am

Screen position

Post by jjs2002 » Thu Apr 08, 2004 8:48 pm

Is there a way to get the screen position for just the plot area of the chart? I want to pop a borderless form over the plot area and want to cover the plot area only.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Fri Apr 09, 2004 4:56 am

Hi.

You could combine the absolute chart location (tChart.Location) together with (chart) relative axis position to define/retrieve chart plotting rectangle. For example

Code: Select all

int xpos = tChart1.Location.X + tChart1.Axes.Left.Position;
Marjan Slatinek,
http://www.steema.com

Post Reply