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?
Custom mark text and mark tips
Re: Custom mark text and mark tips
Hello,
If I understood well, you want to show 3 different strings in the labels, marks and marktips. I'm afraid that you'll have to do the marktips manually (with an annotation tool controlled by the mouse events in conjunction with the series clicked function) because the marktips tool OnGetText event doesn't give you the point index.
Here you can see a similar discussion.
http://www.teechart.net/support/viewtop ... tips+event
If I understood well, you want to show 3 different strings in the labels, marks and marktips. I'm afraid that you'll have to do the marktips manually (with an annotation tool controlled by the mouse events in conjunction with the series clicked function) because the marktips tool OnGetText event doesn't give you the point index.
Here you can see a similar discussion.
http://www.teechart.net/support/viewtop ... tips+event
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |