AXISARROW TOOL

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Neelam
Advanced
Posts: 193
Joined: Fri Jun 08, 2007 12:00 am

AXISARROW TOOL

Post by Neelam » Wed Nov 12, 2008 12:57 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Nov 12, 2008 2:14 pm

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();
		}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply