Page 1 of 1

TCursorTool.XValue and positioning the cursor in the middle

Posted: Thu Jan 13, 2005 1:12 pm
by 8441042
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.