About MarksTip tool
About MarksTip tool
How can I make TChart1_OnMarkTipToolGetText to format text including X-value and Y-value like "x,y"?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Gong,
You can do something like:
You can do something like:
Code: Select all
Private Sub Form_Load()
TChart1.Series(0).FillSampleValues 10
TChart1.Tools.Items(0).asMarksTip.Style = smsXY
End Sub
Private Sub TChart1_OnMarkTipToolGetText(ByVal Tool As Long, Text As String)
Text = Replace(Text, " ", ", ")
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 |