iOS & macOS Charting Documentation - SciChart iOS & macOS Charts SDK v4.x
SCIOhlcDataSeries
@interface SCIOhlcDataSeries
: SCIXDataSeries <ISCIOhlcDataSeries, ISCIXyDataSeriesValues>
A DataSeries to store OHLC data-points, containing X
and Y-Open
, Y-High
, Y-Low
, Y-Close
values.
-
Creates a new
SCIOhlcDataSeries
instance.Declaration
Objective-C
- (nonnull instancetype)initWithXType:(SCIDataType)xType yType:(SCIDataType)yType;
Swift
convenience init(xType: SCIDataType, yType: SCIDataType)
Parameters
xType
The Type of X Data.
yType
The Type of Y Data.
-
Creates a new
SCIOhlcDataSeries
instance.Declaration
Objective-C
- (nonnull instancetype)initWithXType:(SCIDataType)xType yType:(SCIDataType)yType dataDistributionCalculator: (nonnull id<ISCIDataDistributionCalculator>) dataDistributionCalculator;
Swift
init(xType: SCIDataType, yType: SCIDataType, dataDistributionCalculator: ISCIDataDistributionCalculator)
Parameters
xType
The type of X-Data.
yType
The type of Y-Data.
dataDistributionCalculator
The
ISCIDataDistributionCalculator
instance for this series.