TeeChart Cursor Tool
TeeChart Cursor Tool
Is there a way to read the position of the Cursor Tool as it is moved across the chart? I would like to have two vertical cursors and read the X-Axis position of each of these cursors.
Re: TeeChart Cursor Tool
Hi rsites,
You should use TCursorTool OnChange event:
You should use TCursorTool OnChange event:
Code: Select all
procedure TForm1.ChartTool1Change(Sender: TCursorTool; x, y: Integer;
const XValue, YValue: Double; Series: TChartSeries; ValueIndex: Integer);
begin
Caption:='X: '+IntToStr(x)+' Y: '+IntToStr(y);
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TeeChart Cursor Tool
Thanks. Works great.