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

ISCIXyDataSeries

@protocol ISCIXyDataSeries <ISCIXyDataSeriesValues, ISCIXDataSeries>

Defines the interface to an Xy DataSeries, a series containing X and Y data-points.

  • Appends X and Y value to this series.

    Declaration

    Objective-C

    - (void)appendX:(nonnull id<ISCIComparable>)x y:(nonnull id<ISCIComparable>)y;

    Parameters

    x

    The X value.

    y

    The Y value.

  • Appends X and Y values to this series.

    Declaration

    Objective-C

    - (void)appendArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray
                       y:(nonnull NSArray<id<ISCIComparable>> *)yArray;

    Parameters

    xArray

    The X values.

    yArray

    The Y values.

  • Appends X and Y values to this series.

    Declaration

    Objective-C

    - (void)appendValuesX:(nonnull id<ISCIValues>)xValues
                        y:(nonnull id<ISCIValues>)yValues;

    Swift

    func append(x xValues: ISCIValues, y yValues: ISCIValues)

    Parameters

    xValues

    The X values.

    yValues

    The Y values.

  • Inserts X and Y value at specified index.

    Declaration

    Objective-C

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

    Parameters

    x

    The X value.

    y

    The Y value.

    index

    The index to insert point at.

  • Inserts X and Y values at specified index.

    Declaration

    Objective-C

    - (void)insertArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray
                       y:(nonnull NSArray<id<ISCIComparable>> *)yArray
                      at:(NSInteger)index;

    Parameters

    xArray

    The X values.

    yArray

    The Y values.

    index

    The index to insert points at.

  • Inserts X and Y values at specified index.

    Declaration

    Objective-C

    - (void)insertValuesX:(nonnull id<ISCIValues>)xValues
                        y:(nonnull id<ISCIValues>)yValues
                       at:(NSInteger)index;

    Swift

    func insert(x xValues: ISCIValues, y yValues: ISCIValues, at index: Int)

    Parameters

    xValues

    The X values.

    yValues

    The Y values.

    index

    The index to insert points at.

  • Updates X value at specified index.

    Declaration

    Objective-C

    - (void)updateX:(nonnull id<ISCIComparable>)x at:(NSInteger)index;

    Parameters

    x

    The X value.

    index

    The index of point to update.

  • Updates Y value at specified index.

    Declaration

    Objective-C

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

    Parameters

    y

    The Y value.

    index

    The index of point to update.

  • Updates X and Y value at specified index.

    Declaration

    Objective-C

    - (void)updateX:(nonnull id<ISCIComparable>)x
                  y:(nonnull id<ISCIComparable>)y
                 at:(NSInteger)index;

    Parameters

    x

    The X value.

    y

    The Y value.

    index

    The index of point to update.

  • Updates X values at specified index.

    Declaration

    Objective-C

    - (void)updateArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray
                      at:(NSInteger)index;

    Parameters

    xArray

    The X values.

    index

    The index of points to start update from.

  • Updates Y values at specified index.

    Declaration

    Objective-C

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

    Parameters

    yArray

    The Y values.

    index

    The index of points to start update from.

  • Updates X and Y values at specified index.

    Declaration

    Objective-C

    - (void)updateArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray
                       y:(nonnull NSArray<id<ISCIComparable>> *)yArray
                      at:(NSInteger)index;

    Parameters

    xArray

    The X values.

    yArray

    The Y values.

    index

    The index of point to start update from.

  • Updates X values at specified index.

    Declaration

    Objective-C

    - (void)updateValuesX:(nonnull id<ISCIValues>)xValues at:(NSInteger)index;

    Swift

    func update(x xValues: ISCIValues, at index: Int)

    Parameters

    xValues

    The X values.

    index

    The index of points to start update from.

  • Updates Y values at specified index.

    Declaration

    Objective-C

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

    Swift

    func update(y yValues: ISCIValues, at index: Int)

    Parameters

    yValues

    The Y values.

    index

    The index of points to start update from.

  • Updates X and Y values at specified index.

    Declaration

    Objective-C

    - (void)updateValuesX:(nonnull id<ISCIValues>)xValues
                        y:(nonnull id<ISCIValues>)yValues
                       at:(NSInteger)index;

    Swift

    func update(x xValues: ISCIValues, y yValues: ISCIValues, at index: Int)

    Parameters

    xValues

    The X values.

    yValues

    The Y values.

    index

    The index of point to start update from.