Selectively Display Series Marks

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
SV
Newbie
Newbie
Posts: 2
Joined: Wed Nov 05, 2003 5:00 am
Contact:

Selectively Display Series Marks

Post by SV » Mon May 24, 2004 3:54 am

Is there a way to selectively display\hide individual series marks without displaying every mark so as to avoid cluttering.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon May 24, 2004 4:51 am

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 = "";
    }
Marjan Slatinek,
http://www.steema.com

SV
Newbie
Newbie
Posts: 2
Joined: Wed Nov 05, 2003 5:00 am
Contact:

Post by SV » Thu May 27, 2004 8:01 am

Thanks Marjan, It works !!!

Post Reply