Page 1 of 1

Series Point's

Posted: Wed Mar 23, 2005 3:21 pm
by 9524740
When I have series with lots of points, I want to draw a point style square every ten points instead of every point. Is that possible ?

Posted: Wed Mar 23, 2005 3:58 pm
by narcis
Hi Hans,

Yes, this is possible implementing the OnGetSeriesPointerStyle event as here:

Code: Select all

Private Sub TChart1_OnGetSeriesPointerStyle(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, AStyle As TeeChart.EPointerStyle)
    If (ValueIndex Mod 10 = 0) Then
        AStyle = psRectangle
    Else
        AStyle = psNothing
    End If
End Sub