Page 1 of 1

Drawing the label with value for last point in a Line sereis

Posted: Tue Nov 18, 2008 2:12 pm
by 13047002
if I have 40 values for a line how do I get a mark to appear for only the very last point of the line. thx

Posted: Tue Nov 18, 2008 2:23 pm
by narcis
Hi Luke,

You can use GetSeriesMark event like this:

Code: Select all

		void line1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEventArgs e)
		{
			if (e.ValueIndex < series.Count -1)
			{
				e.MarkText = "";
			}
		}

Posted: Tue Nov 18, 2008 2:30 pm
by 13047002
thx v much