Getting grid coordinates after a mouse click
Posted: Fri Jun 02, 2006 6:17 pm
Hi, I need to get the actual x-y values after the user has clicked somewhere on the graph. Any help would be appreciated, thanks.
JRB
JRB
Steema Software - Customer Support Forums
http://216.92.243.79/support/
Code: Select all
private void tChart1_MouseDown(object sender, MouseEventArgs e)
{
label1.Text = tChart1.Axes.Bottom.CalcPosPoint(e.X).ToString();
label2.Text = tChart1.Axes.Left.CalcPosPoint(e.Y).ToString();
}