
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:(id<ISCIComparable>)x y:(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:(NSArray<id<ISCIComparable>> *)xArray y:(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:(id<ISCIValues>)xValues y:(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:(id<ISCIComparable>)x y:(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:(NSArray<id<ISCIComparable>> *)xArray y:(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:(id<ISCIValues>)xValues y:(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:(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:(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:(id<ISCIComparable>)x y:(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:(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:(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:(NSArray<id<ISCIComparable>> *)xArray y:(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:(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:(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:(id<ISCIValues>)xValues y:(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.