Promotic
WikipediaLinkedInYoutubeTwitterFacebook

CursorValue - method of object tvTrend

Description:
Value that corresponds to the cross of the cursor vertical line with the trend graph.
Syntax:
CursorValue([nStyle As Long]) As Double
Calling:
n = oTrend.CursorValue(nStyle)
Parameters:
nStyle[optional] (Long) further specification of the cross
0 (default) - data point is searched whose time is less or equal the time of the cursor vertical line
1 - data point is searched whose time is greater or equal the time of the cursor vertical line
2 - data point is searched that is closest to the time of the cursor vertical line
Note:

The property is used only when the graph mode is set.

The method returns the value Empty if there is no point in the data points buffer (the property has nothing to return).

© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice