GetTimeCursorInfo Method Example

The following example fetches the time, value and quality of the trend at the time where the Pen at index 1 for the ChartChart1 crosses the time cursor.

Dim Dt As Date

Dim dVal As Double

Dim lQual As Long

Chart1.GetTimeCursorInfo 1, Dt, dVal, lQual