Inherits from IGSeriesDataSourceHelper : NSObject
Declared in IGSeriesDataSourceHelper.h

Overview

This data source helper is used to create a data source usable by range series, or series that require open, high, low and close values. This data source accepts an array of values and creates a sequence of IGOHLCPoint objects for the series.

Properties

closePath

A string value path that specifies the property in the data source used for close values.

@property (nonatomic, retain) NSString *closePath

Declared In

IGSeriesDataSourceHelper.h

closeValues

An array of close values.

@property (nonatomic, retain) NSArray *closeValues

Declared In

IGSeriesDataSourceHelper.h

highPath

A string value path that specifies the property in the data source used for high values.

@property (nonatomic, retain) NSString *highPath

Declared In

IGSeriesDataSourceHelper.h

highValues

An array of high values.

@property (nonatomic, retain) NSArray *highValues

Declared In

IGSeriesDataSourceHelper.h

lowPath

A string value path that specifies the property in the data source used for low values.

@property (nonatomic, retain) NSString *lowPath

Declared In

IGSeriesDataSourceHelper.h

lowValues

An array of low values.

@property (nonatomic, retain) NSArray *lowValues

Declared In

IGSeriesDataSourceHelper.h

openPath

A string value path that specifies the property in the data source used for open values.

@property (nonatomic, retain) NSString *openPath

Declared In

IGSeriesDataSourceHelper.h

openValues

An array of open values.

@property (nonatomic, retain) NSArray *openValues

Declared In

IGSeriesDataSourceHelper.h

volumePath

A string value path that specifies the property in the data source used for volume values.

@property (nonatomic, retain) NSString *volumePath

Declared In

IGSeriesDataSourceHelper.h

volumeValues

An array of volume values.

@property (nonatomic, retain) NSArray *volumeValues

Declared In

IGSeriesDataSourceHelper.h

Instance Methods

initWithData:openPath:highPath:lowPath:andClosePath:

Initializes the data source with an array of custom data objects.

- (instancetype)initWithData:(NSArray *)data openPath:(NSString *)openPath highPath:(NSString *)highPath lowPath:(NSString *)lowPath andClosePath:(NSString *)closePath

Parameters

data

Array of custom objects.

openPath

The name of the proeprty containing open values.

highPath

The name of the property containing high values.

lowPath

The name of the property containing low values.

closePath

The name of the property containing close values.

Return Value

Returns an initialized data source.

Declared In

IGSeriesDataSourceHelper.h

initWithOpenValues:highValues:lowValues:andCloseValues:

Initializes the data source with arrays of numeric values.

- (instancetype)initWithOpenValues:(NSArray *)openValues highValues:(NSArray *)highValues lowValues:(NSArray *)lowValues andCloseValues:(NSArray *)closeValues

Parameters

openValues

Array of numeric values used for the open values.

highValues

Array of numeric values used for the high values.

lowValues

Array of numeric values used for the low values.

closeValues

Array of numeric values used for the close values.

Return Value

Returns an initialized data source.

Declared In

IGSeriesDataSourceHelper.h