I am using TeeChart 2.9 with VS-2005
I am using a gantt-chart-series.
I want show for every Task a DIFFERNT mark ( or tooltip)?
How can this be done ?
Now I can show marks e.g. Label or Value or similiar )
But I want show an individuall Text for each task.
How iis this possible ?
Thanks in advance
Peter
INDIVIDUAL Marks in Gannt-chart
Hi Peter
You can to use the "GetSeriesMark" event of the Gantt Series, to change the text of the mark. You should to use the parameter e.MarkText to change the text, and parameter e.ValueIndex to know which mark is called by the event. You can do something similar as below code:
You can to use the "GetSeriesMark" event of the Gantt Series, to change the text of the mark. You should to use the parameter e.MarkText to change the text, and parameter e.ValueIndex to know which mark is called by the event. You can do something similar as below code:
Code: Select all
private void gantt1_GetSeriesMark(Steema.TeeChart.Styles.Series series, Steema.TeeChart.Styles.GetSeriesMarkEventArgs e)
{
e.MarkText = "Mark number: "+e.ValueIndex.ToString();
}