TCursorTool.XValue and positioning the cursor in the middle

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JC
Newbie
Newbie
Posts: 6
Joined: Fri Nov 15, 2002 12:00 am
Location: JHB
Contact:

TCursorTool.XValue and positioning the cursor in the middle

Post by JC » Thu Jan 13, 2005 1:12 pm

I need to reload a chart and then place the cursor tool back to the middle of the X Axis.

The documentation is a little vague
The XValue property corresponds to the horizontal "X" position in Axis scales of the current cursor position.
on this issue.

It seems the XValue corresponds to the first item in the series with a specific value IOW if I have 5 items with the value 100 in 2000 nodes, it selects the first one and everytime the chart is reloaded, the Cursor Tools X line is in a different location (based on different data being loaded).

The goal is to show the user the cursor tool as opposed to it hiding on top of the Y Axis line.

Post Reply