CursorTool Not Firing Properly?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Avatar
Newbie
Newbie
Posts: 26
Joined: Mon Mar 22, 2004 5:00 am
Location: Calgary Canada
Contact:

CursorTool Not Firing Properly?

Post by Avatar » Mon May 30, 2005 2:45 pm

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

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

Post by Narcís » Mon May 30, 2005 3:17 pm

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.
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