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.
-
Append X, Open, High, Low and Close values to the series.
Declaration
Objective-C
- (void)appendX:(nonnull id<ISCIComparable>)x open:(nonnull id<ISCIComparable>)open high:(nonnull id<ISCIComparable>)high low:(nonnull id<ISCIComparable>)low close:(nonnull id<ISCIComparable>)close;Parameters
xThe X value.
openThe Open value.
highThe High value.
lowThe Low value.
closeThe close value.
-
Append X, Open, High, Low and Close values to the series.
Declaration
Objective-C
- (void)appendArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray open:(nonnull NSArray<id<ISCIComparable>> *)openArray high:(nonnull NSArray<id<ISCIComparable>> *)highArray low:(nonnull NSArray<id<ISCIComparable>> *)lowArray close:(nonnull NSArray<id<ISCIComparable>> *)closeArray;Parameters
xArrayThe X values.
openArrayThe Open values.
highArrayThe High values.
lowArrayThe Low values.
closeArrayThe close values.
-
Append X, Open, High, Low and Close values to the series.
Declaration
Objective-C
- (void)appendValuesX:(nonnull id<ISCIValues>)xValues open:(nonnull id<ISCIValues>)openValues high:(nonnull id<ISCIValues>)highValues low:(nonnull id<ISCIValues>)lowValues close:(nonnull id<ISCIValues>)closeValues;Swift
func append(x xValues: any ISCIValues, open openValues: any ISCIValues, high highValues: any ISCIValues, low lowValues: any ISCIValues, close closeValues: any ISCIValues)Parameters
xValuesThe X values.
openValuesThe Open values.
highValuesThe High values.
lowValuesThe Low values.
closeValuesThe close values.
-
Inserts X, Open, High, Low and Close value at specified index.
Declaration
Objective-C
- (void)insertX:(nonnull id<ISCIComparable>)x open:(nonnull id<ISCIComparable>)open high:(nonnull id<ISCIComparable>)high low:(nonnull id<ISCIComparable>)low close:(nonnull id<ISCIComparable>)close at:(NSInteger)index;Parameters
xThe X value.
openThe Open value.
highThe High value.
lowThe Low value.
closeThe close value.
indexThe index to insert point at.
-
Inserts X, Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)insertArrayX:(nonnull NSArray<id<ISCIComparable>> *)xArray open:(nonnull NSArray<id<ISCIComparable>> *)openArray high:(nonnull NSArray<id<ISCIComparable>> *)highArray low:(nonnull NSArray<id<ISCIComparable>> *)lowArray close:(nonnull NSArray<id<ISCIComparable>> *)closeArray at:(NSInteger)index;Parameters
xArrayThe X values.
openArrayThe Open values.
highArrayThe High values.
lowArrayThe Low values.
closeArrayThe close values.
indexThe index to insert points at.
-
Inserts X, Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)insertValuesX:(nonnull id<ISCIValues>)xValues open:(nonnull id<ISCIValues>)openValues high:(nonnull id<ISCIValues>)highValues low:(nonnull id<ISCIValues>)lowValues close:(nonnull id<ISCIValues>)closeValues at:(NSInteger)index;Swift
func insert(x xValues: any ISCIValues, open openValues: any ISCIValues, high highValues: any ISCIValues, low lowValues: any ISCIValues, close closeValues: any ISCIValues, at index: Int)Parameters
xValuesThe X values.
openValuesThe Open values.
highValuesThe High values.
lowValuesThe Low values.
closeValuesThe close values.
indexThe index to insert points at.
-
Updates Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)updateOpen:(nonnull id<ISCIComparable>)open high:(nonnull id<ISCIComparable>)high low:(nonnull id<ISCIComparable>)low close:(nonnull id<ISCIComparable>)close at:(NSInteger)index;Parameters
openThe Open value.
highThe High value.
lowThe Low value.
closeThe close value.
indexThe index of point to update.
-
Updates Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)updateArrayOpen:(nonnull NSArray<id<ISCIComparable>> *)openArray high:(nonnull NSArray<id<ISCIComparable>> *)highArray low:(nonnull NSArray<id<ISCIComparable>> *)lowArray close:(nonnull NSArray<id<ISCIComparable>> *)closeArray at:(NSInteger)index;Parameters
openArrayThe Open values.
highArrayThe High values.
lowArrayThe Low values.
closeArrayThe close values.
indexThe index of point to start update from.
-
Updates Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)updateValuesOpen:(nonnull id<ISCIValues>)openValues high:(nonnull id<ISCIValues>)highValues low:(nonnull id<ISCIValues>)lowValues close:(nonnull id<ISCIValues>)closeValues at:(NSInteger)index;Swift
func update(open openValues: any ISCIValues, high highValues: any ISCIValues, low lowValues: any ISCIValues, close closeValues: any ISCIValues, at index: Int)Parameters
openValuesThe Open values.
highValuesThe High values.
lowValuesThe Low values.
closeValuesThe close values.
indexThe index of point to start update from.
View on GitHub