TCursorTool’s Callout and InterpolateLine

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
sripe
Newbie
Newbie
Posts: 26
Joined: Thu Sep 10, 2015 12:00 am

TCursorTool’s Callout and InterpolateLine

Post by sripe » Wed Feb 03, 2016 10:55 am

Based on the example of Line_Interpolate in TeeChart 2015 Pro VCL, there are two questions.
1. How to use TCursorTool’s Callout at runtime?
2. For Series with custom axes, the Interpolated Points and the Horizontal or Vertical InterpolateLine are mismatching (see the attached file) when using TCursorTool. How to solve the problem?
Attachments
xxxxx.jpg
xxxxx.jpg (85.56 KiB) Viewed 6303 times

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

Re: TCursorTool’s Callout and InterpolateLine

Post by Yeray » Fri Feb 05, 2016 9:20 am

Hello,

I'm not sure to understand the problems you are suffering. Could you please arrange a simple example project we can run as-is to reproduce the problem(s) here?

Thanks in advance.
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

sripe
Newbie
Newbie
Posts: 26
Joined: Thu Sep 10, 2015 12:00 am

Re: TCursorTool’s Callout and InterpolateLine

Post by sripe » Wed Feb 10, 2016 10:56 pm

There is a horizontal or vertical line based on the selection of the RadioGroup, and this line intersects each curve at an interpolating point. The line and interpolating points move as the mouse moves.
1. Without using other tools, such as annotation, how to use TCursorTool’s own properties to show some information about the interpolating points at Top Left/Right corner?
2. The horizontal or vertical line intersects each curve at interpolating points, so this line and interpolating points coincide (overlap), but sometimes they do not (see the attached figure).
Attachments
zzz.jpg
zzz.jpg (35.78 KiB) Viewed 6241 times
xxx.zip
(7.45 KiB) Downloaded 543 times

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

Re: TCursorTool’s Callout and InterpolateLine

Post by Yeray » Thu Feb 11, 2016 11:35 am

Hello,

I've modified your example to achieve both 1 and 2:
xxx.zip
(3.48 KiB) Downloaded 569 times
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