Page 1 of 1

Posted: Thu Jan 08, 2004 12:38 pm
by Pep
Yes, you can use the OnGetSeriesMark event to customize the text Marks and which you want to be showed :
For example using the following code will show only the max Mark :

Code: Select all

		private void Form1_Load(object sender, System.EventArgs e)
		{
			fastLine1.FillSampleValues(10);
			fastLine1.Marks.Visible = true;
		}

		private void fastLine1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEventArgs e)
		{
			if (series.YValues.Value[e.ValueIndex] != series.YValues.Maximum )
			{
				e.MarkText = "";
			}														 
		}

Josep Lluis Jorge
http://support.steema.com