Event TChart.ClickSeries not firing for Point Series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
BlueM
Newbie
Newbie
Posts: 5
Joined: Tue May 26, 2009 12:00 am

Event TChart.ClickSeries not firing for Point Series

Post by BlueM » Wed Jun 03, 2009 3:30 pm

Since upgrading TeeChart from v3 to v4, some of our click events are no longer working. After investigating a little, I found out that the event is fired for line series, but not for point series.

Here's a sample code that demonstrates the problem:

Code: Select all

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Me.TChart1.Aspect.View3D = False

        mySeriesPoints = New Steema.TeeChart.Styles.Points(Me.TChart1.Chart)
        mySeriesPoints.Cursor = Cursors.Hand
        Call mySeriesPoints.FillSampleValues(50)

        mySeriesLine = New Steema.TeeChart.Styles.Line(Me.TChart1.Chart)
        mySeriesLine.Cursor = Cursors.Hand
        Call mySeriesLine.FillSampleValues(50)

        AddHandler Me.TChart1.ClickSeries, AddressOf Me.clickSeries

    End Sub

    Private Sub clickSeries(ByVal sender As Object, ByVal s As Steema.TeeChart.Styles.Series, ByVal valueIndex As Integer, ByVal e As System.Windows.Forms.MouseEventArgs)

        MsgBox(s.Title & " clicked!", MsgBoxStyle.Information)

    End Sub

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 Jun 04, 2009 12:33 pm

Hi BlueM,

Thanks for reporting. I could reproduce the issue here and added it (TF02014214) to the defect list to be fixed for next releases.
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

BlueM
Newbie
Newbie
Posts: 5
Joined: Tue May 26, 2009 12:00 am

Re: Event TChart.ClickSeries not firing for Point Series

Post by BlueM » Wed Jul 01, 2009 3:16 pm

It's working again with the latest release 4.0.2009.21355! Thanks!

Post Reply