Page 1 of 1

AXISARROW TOOL

Posted: Wed Nov 12, 2008 12:57 pm
by 13045482
HI
I AM USING AXISARROW TOOL IN MY CHART. IS THERE A WAY TO GET X AXIS VALUE WHEN USER CLICK ON THE AXISARROW TOOL . sAY MY X AXIS SHOW 1 TO 100 AND THERE IS A AXISARROW TOOL ON 100. nOW WHEN USER CLICK IT THEN 100 SHOULD BE DISPLAYED.

Posted: Wed Nov 12, 2008 2:14 pm
by narcis
Hi shikha,

Yes, you can use its Click event like this:

Code: Select all

		void arrow1_Click(object sender, MouseEventArgs e)
		{
			double value = arrow1.Axis.CalcPosPoint(e.X);
			this.Text = value.ToString();
		}