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

ISCIHlDataSeries

@protocol ISCIHlDataSeries <ISCIHlDataSeriesValues, ISCIXDataSeries>

Defines the interface to a HL DataSeries, which contains columns of X-Values and Y-Values, High-Values and Low-Values.

  • Inserts the X and Y, High and Low point to the series at specified index.

    Declaration

    Objective-C

    - (void)insertX:(nonnull id<ISCIComparable>)x
                  Y:(nonnull id<ISCIComparable>)y
               high:(nonnull id<ISCIComparable>)high
                low:(nonnull id<ISCIComparable>)low
                 at:(NSInteger)index;

    Parameters

    x

    The X value.

    y

    The Y value.

    high

    The high value.

    low

    The low value.

    index

    The index to insert point at.

  • Inserts the X and Y, High and Low points to the series at specified index.

    Declaration

    Objective-C

    - (void)insertArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray
                       Y:(nonnull NSArray<id<ISCIComparable>> *)yArray
                    high:(nonnull NSArray<id<ISCIComparable>> *)highArray
                     low:(nonnull NSArray<id<ISCIComparable>> *)lowArray
                      at:(NSInteger)index;

    Parameters

    xArray

    The X values.

    yArray

    The Y values.

    highArray

    The high values.

    lowArray

    The low values.

    index

    The index to insert points at.

  • Inserts the X and Y, High and Low points to the series at specified index.

    Declaration

    Objective-C

    - (void)insertValuesX:(nonnull id<ISCIValues>)xValues
                        Y:(nonnull id<ISCIValues>)yValues
                     high:(nonnull id<ISCIValues>)highValues
                      low:(nonnull id<ISCIValues>)lowValues
                       at:(NSInteger)index;

    Swift

    func insert(x xValues: ISCIValues, y yValues: ISCIValues, high highValues: ISCIValues, low lowValues: ISCIValues, at index: Int)

    Parameters

    xValues

    The X values.

    yValues

    The Y values.

    highValues

    The high values.

    lowValues

    The low values.

    index

    The index to insert points at.

  • Updates an Y, High and Low point to the series at specified index.

    Declaration

    Objective-C

    - (void)updateY:(nonnull id<ISCIComparable>)y
               high:(nonnull id<ISCIComparable>)high
                low:(nonnull id<ISCIComparable>)low
                 at:(NSInteger)index;

    Parameters

    y

    The Y value.

    high

    The high value.

    low

    The low value.

    index

    The index of point to update.

  • Updates the Y, High and Low points to the series at specified index.

    Declaration

    Objective-C

    - (void)updateArrayY:(nonnull NSArray<id<ISCIComparable>> *)yArray
                    high:(nonnull NSArray<id<ISCIComparable>> *)highArray
                     low:(nonnull NSArray<id<ISCIComparable>> *)lowArray
                      at:(NSInteger)index;

    Parameters

    yArray

    The Y values.

    highArray

    The high values.

    lowArray

    The low values.

    index

    The index of point to start update from.

  • Updates the Y, High and Low points to the series at specified index.

    Declaration

    Objective-C

    - (void)updateValuesY:(nonnull id<ISCIValues>)yValues
                     high:(nonnull id<ISCIValues>)highValues
                      low:(nonnull id<ISCIValues>)lowValues
                       at:(NSInteger)index;

    Swift

    func update(y yValues: ISCIValues, high highValues: ISCIValues, low lowValues: ISCIValues, at index: Int)

    Parameters

    yValues

    The Y values.

    highValues

    The high values.

    lowValues

    The low values.

    index

    The index of point to start update from.