ICursorTool.XVal
ICursorTool
property XVal: Double;
Type Library
TeeChartx
Description
The XVal property defines a series XValue along which the vertical component (if activated) of the Cursor Tool will be drawn.
Example [Visual Basic]:
With TChart1
.AddSeries scLine
.Series(0).FillSampleValues 20
.Tools.Add tcCursor
.Tools.Items(0).Active = True
With .Tools.Items(0).asTeeCursor
.Style = cssBoth
End With
.Environment.InternalRepaint
With .Tools.Items(0).asTeeCursor
.XVal = 10
.YVal = 50
End With
End With