Hi,
this is a real newbie question, but how can I enter a label on a series? What I want is a fastline-series, and at the end of the series I want to place a label (same style as marks), I tryed marks, but dident find out how to limit them to only the last point in the series.
y.s.
lars arve
Enter a label on a series
Hi,
There are two solutions for your question. One of them is using a GetSeriesMark event, whose is called every time that a mark is painted. You can do something similiar to below code:
The other way is using an Annotation Tool, you can see how to use it in the http://www.teechart.net/support/viewtop ... annotation post
There are two solutions for your question. One of them is using a GetSeriesMark event, whose is called every time that a mark is painted. You can do something similiar to below code:
Code: Select all
private void fastLine1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEventArgs e)
{
if (e.ValueIndex != series.Count-1)
{
e.MarkText = "";
}
}