Series Point's

TeeChart for ActiveX, COM and ASP
Post Reply
Hans
Newbie
Newbie
Posts: 6
Joined: Tue Nov 02, 2004 5:00 am

Series Point's

Post by Hans » Wed Mar 23, 2005 3:21 pm

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 ?

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

Post by Narcís » Wed Mar 23, 2005 3:58 pm

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