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.
-
Appends the X, Y, High and Low point to the series.
Declaration
Objective-C
- (void)appendX:(nonnull id<ISCIComparable>)x y:(nonnull id<ISCIComparable>)y high:(nonnull id<ISCIComparable>)high low:(nonnull id<ISCIComparable>)low;Parameters
xThe X value.
yThe Y value.
highThe high value.
lowThe low value.
-
Appends the X, Y, High and Low point to the series.
Declaration
Objective-C
- (void)appendArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray y:(nonnull NSArray<id<ISCIComparable>> *)yArray high:(nonnull NSArray<id<ISCIComparable>> *)highArray low:(nonnull NSArray<id<ISCIComparable>> *)lowArray;Parameters
xArrayThe X values.
yArrayThe Y values.
highArrayThe high values.
lowArrayThe low values.
-
Appends an X, Y, High and Low points to the series.
Declaration
Objective-C
- (void)appendValuesX:(nonnull id<ISCIValues>)xValues y:(nonnull id<ISCIValues>)yValues high:(nonnull id<ISCIValues>)highValues low:(nonnull id<ISCIValues>)lowValues;Swift
func append(x xValues: any ISCIValues, y yValues: any ISCIValues, high highValues: any ISCIValues, low lowValues: any ISCIValues)Parameters
xValuesThe X values.
yValuesThe Y values.
highValuesThe high values.
lowValuesThe 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
xThe X value.
yThe Y value.
highThe high value.
lowThe low value.
indexThe 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
xArrayThe X values.
yArrayThe Y values.
highArrayThe high values.
lowArrayThe low values.
indexThe 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: any ISCIValues, y yValues: any ISCIValues, high highValues: any ISCIValues, low lowValues: any ISCIValues, at index: Int)Parameters
xValuesThe X values.
yValuesThe Y values.
highValuesThe high values.
lowValuesThe low values.
indexThe 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
yThe Y value.
highThe high value.
lowThe low value.
indexThe 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
yArrayThe Y values.
highArrayThe high values.
lowArrayThe low values.
indexThe 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: any ISCIValues, high highValues: any ISCIValues, low lowValues: any ISCIValues, at index: Int)Parameters
yValuesThe Y values.
highValuesThe high values.
lowValuesThe low values.
indexThe index of point to start update from.
View on GitHub