VB Help with GetPointerStyle
Posted: Thu May 19, 2005 9:08 pm
Hi TeeChart
I have my line series ‘Y1’ and I want to display every forth point. I thing I have GetPointerStyle OK, but I have no way to call it. I have taken the various examples in the demo and off the site and run them through the C# to VB translators but they don’t come out clean enough for me to see were they are called from. I have a total of six separate series and each has the option of spacing the pointers.
How and where do I call GetPointerStyle?
Private Sub Y1_GetPointerStyle(ByVal series As Steema.TeeChart.Styles.CustomPoint, ByVal e As Steema.TeeChart.Styles.CustomPoint.GetPointerStyleEventArgs) Handles Y1.GetPointerStyle
If e.ValueIndex Mod 4 <> 0 Then
e.Style = Steema.TeeChart.Styles.PointerStyles.Nothing
Else
e.Style = Steema.TeeChart.Styles.PointerStyles.Triangle
End If
End Sub
Thanks
I have my line series ‘Y1’ and I want to display every forth point. I thing I have GetPointerStyle OK, but I have no way to call it. I have taken the various examples in the demo and off the site and run them through the C# to VB translators but they don’t come out clean enough for me to see were they are called from. I have a total of six separate series and each has the option of spacing the pointers.
How and where do I call GetPointerStyle?
Private Sub Y1_GetPointerStyle(ByVal series As Steema.TeeChart.Styles.CustomPoint, ByVal e As Steema.TeeChart.Styles.CustomPoint.GetPointerStyleEventArgs) Handles Y1.GetPointerStyle
If e.ValueIndex Mod 4 <> 0 Then
e.Style = Steema.TeeChart.Styles.PointerStyles.Nothing
Else
e.Style = Steema.TeeChart.Styles.PointerStyles.Triangle
End If
End Sub
Thanks