Specific features info please

TeeChart for ActiveX, COM and ASP
Post Reply
tirby
Newbie
Newbie
Posts: 84
Joined: Mon Mar 16, 2009 12:00 am

Specific features info please

Post by tirby » Wed Mar 04, 2015 9:00 pm

Hi,

We're currently running version: v2013.0.1.4.131120

Does the latest version of the ActiveX TChart support or provide the following:

1. RectangleToolClicked.Index?
2. Axis Title Position?
3. A method to view the stored x-y data value(s) of any point on any line/fastline in the form of a tooltip with a cursor/pointer?

Thanks!

Yeray
Site Admin
Site Admin
Posts: 8876
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Specific features info please

Post by Yeray » Thu Mar 05, 2015 9:14 am

Hello,
tirby wrote:1. RectangleToolClicked.Index?
If you want to know what tool has been clicked at OnRectangleTooClick event, you can loop into the tools in a chart and check which one has been clicked with the Clicked function. Ie:

Code: Select all

Private Sub TChart1_OnRectangleToolClick(ByVal Button As TeeChart.EMouseButton, ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)
  Dim i As Integer
  For i = 0 To TChart1.Tools.Count - 1
    If TChart1.Tools.Items(i).ToolType = 25 Then
      If TChart1.Tools.Items(i).asRectangle.clicked(X, Y) Then
        MsgBox "RectangleTool clicked. Tool Index: " + Str$(i)
      End If
    End If
  Next i
End Sub
tirby wrote:2. Axis Title Position?
I see in TeeChart VCL you can access the Axis Title ShapeBounds. Is this what you want? What do you exactly need it for?
tirby wrote:3. A method to view the stored x-y data value(s) of any point on any line/fastline in the form of a tooltip with a cursor/pointer?
Take a look at this interpolation example from Narcís.
Is this what you are trying to achieve?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply