Page 1 of 1

Selectively Display Series Marks

Posted: Mon May 24, 2004 3:54 am
by 8122626
Is there a way to selectively display\hide individual series marks without displaying every mark so as to avoid cluttering.

Posted: Mon May 24, 2004 4:51 am
by Marjan
Hi.

Yes. You can use series GetSeriesMark event to filter series marks. Something similar to this:

Code: Select all

    private void surface1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEventArgs e)
    {
      // show only 4th point mark 
      if (e.ValueIndex!=3) e.MarkText = "";
    }

Posted: Thu May 27, 2004 8:01 am
by 8122626
Thanks Marjan, It works !!!