ICandleSeries.DateValues
ICandleSeries
property DateValues: IValueList;
Type Library
TeeChartx
Description
The DateValues property is used to store all Stock market Date values. You can access Date values in the same way you can access X or Y values.
Example [Visual Basic]:
{ this code returns the Stock market Date with bigger Open value }
Dim tmp As Double
Dim t As Integer
Dim tmpDate As Date
With TChart1.Series(0).asCandle
If TChart1.Series(0).Count > 0 Then
For t = 0 To TChart1.Series(0).Count - 1
If t = 0 Or .OpenValues.Value(t) > tmp Then
tmp = .OpenValues.Value(t)
tmpDate = .DateValues.Value(t)
End If
Next t
End If
End With
MsgBox tmpDate
End Sub