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 a high and a low value. The data points of this data source are numeric high and low values. This data source accepts an array of values and creates a sequence of IGHighLowPoint objects for the series.

Tasks

Other Methods

  •   highValues

    An array of high values.

    property
  •   lowValues

    An array of low values.

    property
  •   highPath

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

    property
  •   lowPath

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

    property

Initializing DataSource Helper

Properties

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

Instance Methods

initWithData:highPath:andLowPath:

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

- (id)initWithData:(NSArray *)data highPath:(NSString *)highPath andLowPath:(NSString *)lowPath

Parameters

data

An array of custom objects.

highPath

The name of the property containing high values.

lowPath

The name of the property containing low values.

Return Value

Returns an initialized data source.

Declared In

IGSeriesDataSourceHelper.h

initWithHighValues:andLowValues:

Initializes the data source with arrays of numeric values.

- (id)initWithHighValues:(NSArray *)highValues andLowValues:(NSArray *)lowValues

Parameters

highValues

Array of numeric values used for the high values.

lowValues

Array of numeric values used for the low values.

Return Value

Returns an initialized data source.

Declared In

IGSeriesDataSourceHelper.h