Hello,
I am using TeeChart v7 and i am searching since a while to solve a problem:
I am search for a tool or possibilty to display continuously the x- and y- values of the spot where the coursor is? Similar to the 'Surface Nearest' tool, but with normal 2D-Charts.
I hope you know what I mean and you can give me an advice!!!
Thx a lot
Continiously display of values
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi riego,
I can think of two options here:
1. Use MarksTip like this:
2. Using the interpolation example I posted here?
Hope this helps!
I can think of two options here:
1. Use MarksTip like this:
Code: Select all
TChart1.Tools.Add tcMarksTip
TChart1.Tools.Items(0).asMarksTip.Series = TChart1.Series(0)
TChart1.Tools.Items(0).asMarksTip.Style = smsXY
Hope this helps!
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 |
Thx for your fast answer.
Actually I cannot test your suggestion, because i am using an already integrated TeeChart in a project. I am just able to change the standard settings. So I thought there is a standard tool for such a requirement. Unfortunately the MarkTips-tool don't give me what I really need.
But thanks though!
Actually I cannot test your suggestion, because i am using an already integrated TeeChart in a project. I am just able to change the standard settings. So I thought there is a standard tool for such a requirement. Unfortunately the MarkTips-tool don't give me what I really need.
But thanks though!
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi riego,
Which is the exact problem you have with MarksTip tool? You can customize it using OnMarkTipToolGetText, for example:
Which is the exact problem you have with MarksTip tool? You can customize it using OnMarkTipToolGetText, for example:
Code: Select all
Private Sub TChart1_OnMarkTipToolGetText(ByVal Tool As Long, Text As String)
Text = "Those are the series values: " & 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 |