
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:(id<ISCIComparable>)x open:(id<ISCIComparable>)open high:(id<ISCIComparable>)high low:(id<ISCIComparable>)low close:(id<ISCIComparable>)close;
Swift
func __appendX(_ x: ISCIComparable!, open: ISCIComparable!, high: ISCIComparable!, low: ISCIComparable!, close: ISCIComparable!)
Parameters
x
The X value.
open
The Open value.
high
The High value.
low
The Low value.
close
The close value.
-
Append X, Open, High, Low and Close values to the series.
Declaration
Objective-C
- (void)appendArrayX:(NSArray<id<ISCIComparable>> *)xArray open:(NSArray<id<ISCIComparable>> *)openArray high:(NSArray<id<ISCIComparable>> *)highArray low:(NSArray<id<ISCIComparable>> *)lowArray close:(NSArray<id<ISCIComparable>> *)closeArray;
Swift
func __appendArrayX(_ xArray: [ISCIComparable]!, open openArray: [ISCIComparable]!, high highArray: [ISCIComparable]!, low lowArray: [ISCIComparable]!, close closeArray: [ISCIComparable]!)
Parameters
xArray
The X values.
openArray
The Open values.
highArray
The High values.
lowArray
The Low values.
closeArray
The close values.
-
Append X, Open, High, Low and Close values to the series.
Declaration
Objective-C
- (void)appendValuesX:(id<ISCIValues>)xValues open:(id<ISCIValues>)openValues high:(id<ISCIValues>)highValues low:(id<ISCIValues>)lowValues close:(id<ISCIValues>)closeValues;
Swift
func append(x xValues: ISCIValues!, open openValues: ISCIValues!, high highValues: ISCIValues!, low lowValues: ISCIValues!, close closeValues: ISCIValues!)
Parameters
xValues
The X values.
openValues
The Open values.
highValues
The High values.
lowValues
The Low values.
closeValues
The close values.
-
Inserts X, Open, High, Low and Close value at specified index.
Declaration
Objective-C
- (void)insertX:(id<ISCIComparable>)x open:(id<ISCIComparable>)open high:(id<ISCIComparable>)high low:(id<ISCIComparable>)low close:(id<ISCIComparable>)close at:(NSInteger)index;
Swift
func __insertX(_ x: ISCIComparable!, open: ISCIComparable!, high: ISCIComparable!, low: ISCIComparable!, close: ISCIComparable!, at index: Int)
Parameters
x
The X value.
open
The Open value.
high
The High value.
low
The Low value.
close
The close value.
index
The index to insert point at.
-
Inserts X, Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)insertArrayX:(NSArray<id<ISCIComparable>> *)xArray open:(NSArray<id<ISCIComparable>> *)openArray high:(NSArray<id<ISCIComparable>> *)highArray low:(NSArray<id<ISCIComparable>> *)lowArray close:(NSArray<id<ISCIComparable>> *)closeArray at:(NSInteger)index;
Swift
func __insertArrayX(_ xArray: [ISCIComparable]!, open openArray: [ISCIComparable]!, high highArray: [ISCIComparable]!, low lowArray: [ISCIComparable]!, close closeArray: [ISCIComparable]!, at index: Int)
Parameters
xArray
The X values.
openArray
The Open values.
highArray
The High values.
lowArray
The Low values.
closeArray
The close values.
index
The index to insert points at.
-
Inserts X, Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)insertValuesX:(id<ISCIValues>)xValues open:(id<ISCIValues>)openValues high:(id<ISCIValues>)highValues low:(id<ISCIValues>)lowValues close:(id<ISCIValues>)closeValues at:(NSInteger)index;
Swift
func insert(x xValues: ISCIValues!, open openValues: ISCIValues!, high highValues: ISCIValues!, low lowValues: ISCIValues!, close closeValues: ISCIValues!, at index: Int)
Parameters
xValues
The X values.
openValues
The Open values.
highValues
The High values.
lowValues
The Low values.
closeValues
The close values.
index
The index to insert points at.
-
Updates Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)updateOpen:(id<ISCIComparable>)open high:(id<ISCIComparable>)high low:(id<ISCIComparable>)low close:(id<ISCIComparable>)close at:(NSInteger)index;
Swift
func __updateOpen(_ open: ISCIComparable!, high: ISCIComparable!, low: ISCIComparable!, close: ISCIComparable!, at index: Int)
Parameters
open
The Open value.
high
The High value.
low
The Low value.
close
The close value.
index
The index of point to update.
-
Updates Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)updateArrayOpen:(NSArray<id<ISCIComparable>> *)openArray high:(NSArray<id<ISCIComparable>> *)highArray low:(NSArray<id<ISCIComparable>> *)lowArray close:(NSArray<id<ISCIComparable>> *)closeArray at:(NSInteger)index;
Swift
func __updateArrayOpen(_ openArray: [ISCIComparable]!, high highArray: [ISCIComparable]!, low lowArray: [ISCIComparable]!, close closeArray: [ISCIComparable]!, at index: Int)
Parameters
openArray
The Open values.
highArray
The High values.
lowArray
The Low values.
closeArray
The close values.
index
The index of point to start update from.
-
Updates Open, High, Low and Close values at specified index.
Declaration
Objective-C
- (void)updateValuesOpen:(id<ISCIValues>)openValues high:(id<ISCIValues>)highValues low:(id<ISCIValues>)lowValues close:(id<ISCIValues>)closeValues at:(NSInteger)index;
Swift
func update(open openValues: ISCIValues!, high highValues: ISCIValues!, low lowValues: ISCIValues!, close closeValues: ISCIValues!, at index: Int)
Parameters
openValues
The Open values.
highValues
The High values.
lowValues
The Low values.
closeValues
The close values.
index
The index of point to start update from.