IGPolarSeriesDataSourceHelper Class Reference

Inherits from IGSeriesDataSourceHelper : NSObject
Declared in IGSeriesDataSourceHelper.h

Overview

This data source helper is used to create a data source usable by polar series. The data points of this data source are numeric value pairs to be used in a polar coordinate system. This data source accepts an array of values and creates a sequence of IGPolarPoint objects for the series.

Other Methods

  angleValues

An array of angle values.

@property (nonatomic, retain, nullable) NSArray<__kindofNSNumber*> *angleValues

Declared In

IGSeriesDataSourceHelper.h

  radiusValues

An array of radius values.

@property (nonatomic, retain, nullable) NSArray<__kindofNSNumber*> *radiusValues

Declared In

IGSeriesDataSourceHelper.h

  anglePath

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

@property (nonatomic, retain, nullable) NSString *anglePath

Declared In

IGSeriesDataSourceHelper.h

  radiusPath

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

@property (nonatomic, retain, nullable) NSString *radiusPath

Declared In

IGSeriesDataSourceHelper.h

Initializing DataSource Helper

– initWithAngleValues:andRadiusValues:

Initializes the data source with arrays of numeric values.

- (instancetype)initWithAngleValues:(NSArray<__kindofNSNumber*> *)angleValues andRadiusValues:(NSArray<__kindofNSNumber*> *)radiusValues

Parameters

angleValues

Array of numeric values used for the angle axis.

radiusValues

Array of numeric values used for the radius axis.

Return Value

Returns an initialized data source.

Declared In

IGSeriesDataSourceHelper.h

– initWithData:anglePath:andRadiusPath:

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

- (instancetype)initWithData:(NSArray *)data anglePath:(NSString *)anglePath andRadiusPath:(NSString *)radiusPath

Parameters

data

An array of custom objects.

anglePath

The name of the proeprty containing angle values.

radiusPath

The name of the property containing radius values.

Return Value

Returns an initialized data source.

Declared In

IGSeriesDataSourceHelper.h