IGSeriesDataSourceHelper Class Reference

Inherits from NSObject
Conforms to IGSeriesDataSource
Declared in IGSeriesDataSourceHelper.h

Overview

This is the base class for all series data source helpers. This class should not be allocated.

  data

An array of custom data objects. The fields in the data object are accessed via memberPath properties.

@property (nonatomic, retain, nullable) NSArray *data

Declared In

IGSeriesDataSourceHelper.h

  labels

An array of string labels used to create data points.

@property (nonatomic, retain, nullable) NSArray<__kindofNSString*> *labels

Declared In

IGSeriesDataSourceHelper.h

  labelPath

Name of the property containing labels.

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

Declared In

IGSeriesDataSourceHelper.h

  autoGenerateLabels

Determines if data point labels should be automatically generated. Set to YES by default. When labels array is nil and when labelPath is nil or empty, setting this property to YES will make sure that each data point has a default label, while setting it to NO will cause data points to have no labels. Data points without labels reduce transient memory used by the app.

@property (nonatomic) BOOL autoGenerateLabels

Declared In

IGSeriesDataSourceHelper.h