points on line

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
.net
Newbie
Newbie
Posts: 10
Joined: Thu Jan 29, 2004 5:00 am
Location: IL

points on line

Post by .net » Wed Jan 05, 2005 8:20 am

Hello!
I want to invoke a label appereance while pressing a point (one of the
input points to chart) in the chart,how do I do it? and how do I know
someone pressed specific point on chart?
Thank you very much !

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Wed Jan 05, 2005 11:03 am

Hi,
I want to invoke a label appereance while pressing a point (one of the
input points to chart) in the chart,how do I do it?
How about using the MarksTip tool ?
someone pressed specific point on chart?
You can use the Clicked method, i.e (but in on mouseDown event) :

Code: Select all

private void tChart1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
{
if (points1.Clicked(e.X,e.Y) != -1 ) 
{
	//
}
textBox1.Text = points1.Clicked(e.X, e.Y).ToString();
}

Post Reply