Page 1 of 1

HOW TO set the SELECTED MARKS VISIBLE TRUE/FALSE

Posted: Thu Sep 28, 2006 10:36 am
by 6925851
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 )

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