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.
AXISARROW TOOL
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi shikha,
Yes, you can use its Click event like this:
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();
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |