HOW TO set the SELECTED MARKS VISIBLE TRUE/FALSE

TeeChart for ActiveX, COM and ASP
Post Reply
Aravind
Newbie
Newbie
Posts: 75
Joined: Fri Nov 15, 2002 12:00 am

HOW TO set the SELECTED MARKS VISIBLE TRUE/FALSE

Post by Aravind » Thu Sep 28, 2006 10:36 am

HOW TO set the SELECTED MARKS VISIBLE TRUE/FALSE

( in a series i want to set first 3 marks to true , next 2 marks to false , final marks to true )

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 Sep 28, 2006 1:23 pm

Hi Aravind,

You can do something like this:

Code: Select all

Private Sub Form_Load()
    TChart1.Series(0).FillSampleValues 6
End Sub

Private Sub TChart1_OnGetSeriesMark(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, MarkText As String)
    If ((ValueIndex > 2) And (ValueIndex < 5)) Then
        MarkText = ""
    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