ICursorTool.YVal
ICursorTool
property YVal: Double;
Type Library
TeeChartx
Description
The YVal property defines a series YValue along which the horizontal component (if activated) of the Cursor Tool will be drawn.
Example [Visual Basic]:
ith 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