Custom mark text and mark tips
Posted: Thu Jul 21, 2011 9:50 pm
I have a Gantt chart and I assign custom text to the marks text to show short detail at all times:
Series.AddGantt(Now(), Now() + 24, i, 'My Y Label');
Series.Marks.Item.Text.Text := 'Short';
I also want to give longer detail as a marktip, so I have
Series.Marks.Style := smsPointIndex;
MarkTips.Style := smsPointIndex;
But, the hover text is the mark text value ("Short"), not the ValueIndex I need so I can look up and show more detailed description.
If I don't set the custom mark text, the hover value shows the ValueIndex, but the mark text isn't what I want.
How can show both custom marktext and custom marktip?
Series.AddGantt(Now(), Now() + 24, i, 'My Y Label');
Series.Marks.Item.Text.Text := 'Short';
I also want to give longer detail as a marktip, so I have
Series.Marks.Style := smsPointIndex;
MarkTips.Style := smsPointIndex;
But, the hover text is the mark text value ("Short"), not the ValueIndex I need so I can look up and show more detailed description.
If I don't set the custom mark text, the hover value shows the ValueIndex, but the mark text isn't what I want.
How can show both custom marktext and custom marktip?