Hi people,
I would like to custom the text which is shown when the mouse is over a point. For example, I would like to put the serie name and the XY value.
text= "Serie Name " & "X Y values"
Any idea?
Thanks,
Anahi
Mark Tips text
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Anahi,
Yes, you can use OnGetSeriesMark event and something like this:
Yes, you can use OnGetSeriesMark event and something like this:
Code: Select all
Private Sub TChart1_OnGetSeriesMark(ByVal SeriesIndex As Long, ByVal ValueIndex As Long, MarkText As String)
With TChart1.Series(SeriesIndex)
MarkText = CStr(.Name) & ": " & CStr(.XValues.Value(ValueIndex)) & ", " & CStr(.YValues.Value(ValueIndex))
End With
End Sub
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
![]() ![]() ![]() ![]() ![]() ![]() |
Instructions - How to post in this forum |