The access to individual points of the series by index.
Namespace: GF.Clients.Charts.TimeSeries
Assembly: GF.Clients.Charts (in GF.Clients.Charts.dll) Version: a2f537322cdaf87d2796303449681c087e96766d
Syntax
Parameters
- Index
- Type: SystemInt32
The index of point in series. The first index is zero. - SeriesOrder
- Type: GF.Clients.Charts.TimeSeriesSeriesOrder
Determinates the begin of indexing: Direct for the first calculated value to the current bar, Back - from the current bar
Return Value
Type: DoubleValue
Examples
Result[0, SeriesOrder.Back] = r; // set r to the latest value of series (the current bar) Result[0, SeriesOrder.Direct] = 0; // set 0 to the first value of series (in the past)
See Also