iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x

ISCIOhlcDataSeries

@protocol ISCIOhlcDataSeries <ISCIOhlcDataSeriesValues, ISCIXDataSeries>

Defines the interface to an OHLC DataSeries, a series containing Open, High, Low, Close data-points.

  • Updates Open, High, Low and Close values at specified index.

    Declaration

    Objective-C

    - (void)updateOpen:(id<ISCIComparable>)open
                  high:(id<ISCIComparable>)high
                   low:(id<ISCIComparable>)low
                 close:(id<ISCIComparable>)close
                    at:(NSInteger)index;

    Parameters

    open

    The Open value.

    high

    The High value.

    low

    The Low value.

    close

    The close value.

    index

    The index of point to update.

  • Updates Open, High, Low and Close values at specified index.

    Declaration

    Objective-C

    - (void)updateArrayOpen:(NSArray<id<ISCIComparable>> *)openArray
                       high:(NSArray<id<ISCIComparable>> *)highArray
                        low:(NSArray<id<ISCIComparable>> *)lowArray
                      close:(NSArray<id<ISCIComparable>> *)closeArray
                         at:(NSInteger)index;

    Parameters

    openArray

    The Open values.

    highArray

    The High values.

    lowArray

    The Low values.

    closeArray

    The close values.

    index

    The index of point to start update from.

  • Updates Open, High, Low and Close values at specified index.

    Declaration

    Objective-C

    - (void)updateValuesOpen:(id<ISCIValues>)openValues
                        high:(id<ISCIValues>)highValues
                         low:(id<ISCIValues>)lowValues
                       close:(id<ISCIValues>)closeValues
                          at:(NSInteger)index;

    Swift

    func update(open openValues: ISCIValues!, high highValues: ISCIValues!, low lowValues: ISCIValues!, close closeValues: ISCIValues!, at index: Int)

    Parameters

    openValues

    The Open values.

    highValues

    The High values.

    lowValues

    The Low values.

    closeValues

    The close values.

    index

    The index of point to start update from.