I have added a CursorTool to my TeeChart. I require the Y value for a given Series to display in a label.
CursorToolz.Active = True
CursorToolz.FollowMouse = True
CursorToolz.Series = Y1
CursorToolz.Style = Steema.TeeChart.Tools.CursorToolStyles.Both
I have tried:
Private Sub CursorTool_Change(ByVal sender As Object, ByVal e As Steema.TeeChart.Tools.CursorChangeEventArgs) Handles CursorTool.Change
lblselect.Text = FormatNumber(CursorToolz.YValue, 1).ToString
End Sub
Private Sub TChartz_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TChartz.MouseMove
lblselect.Text = FormatNumber(CursorToolz.YValue, 1).ToString
End Sub
Private Sub TChartz_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TChartz.MouseDown
lblselect.Text = FormatNumber(CursorToolz.YValue, 1).ToString
End Sub
The only time CursorTool appears to work is when the Cursor moves off then on the chart again. What am I missing?
I have read all the other threads on CursorTool and there was a problem with other builds. I have the leatest release.
Thanks
CursorTool Not Firing Properly?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Avatar,
Using latest TeeChart version available CursorTool fires but it doesn't fire properly. Please see this thread related to the same problem.
Also notice that is already fixed in TeeChart for .NET v2 which BETA version is currently available from our customer download area.
Using latest TeeChart version available CursorTool fires but it doesn't fire properly. Please see this thread related to the same problem.
Also notice that is already fixed in TeeChart for .NET v2 which BETA version is currently available from our customer download area.
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 |