A colorline question...

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
noaksey
Newbie
Newbie
Posts: 55
Joined: Wed May 23, 2007 12:00 am

A colorline question...

Post by noaksey » Thu Feb 12, 2009 3:06 pm

Could you make the DoDragLine method and DragLine event handler [for the ColorLine] use the MouseEventArgs type (instead of EventArgs) so I can get the mouse X and Y when you move it?

I've already done this in the source code but I would like it to be implemented in future versions, if you wouldn't mind please guys.

Regards
Chris.

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

Post by Narcís » Thu Feb 12, 2009 3:47 pm

Hi Chris,

You can do something like in the code below already. Anyway, I'll add your request to the wish-list to be considered for inclusion in future releases.

Code: Select all

		void colorLine1_DragLine(object sender, EventArgs e)
		{
			double value = (sender as Steema.TeeChart.Tools.ColorLine).Value;
			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