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.
A colorline question...
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |