NChartSizeAxisDataSource Protocol Reference

Conforms to NSObject
Declared in NChartSizeAxis.h

Overview

The NChartSizeAxisDataSource protocol provides methods to control data on the size axis.

– sizeAxisDataSourceMinSizeForSizeAxis: required method

Get minimal size of markers on the screen in pixels.

- (float)sizeAxisDataSourceMinSizeForSizeAxis:(NChartSizeAxis *)sizeAxis

Parameters

sizeAxis
  • the size axis to obtain the minimal size for.

Return Value

the minimal size of the markers on the screen in pixels.

See Also

Declared In

NChartSizeAxis.h

– sizeAxisDataSourceMaxSizeForSizeAxis: required method

Get maximal size of markers on the screen in pixels.

- (float)sizeAxisDataSourceMaxSizeForSizeAxis:(NChartSizeAxis *)sizeAxis

Parameters

sizeAxis
  • the size axis to obtain the maximal size for.

Return Value

the maximal size of the markers on the screen in pixels.

See Also

Declared In

NChartSizeAxis.h

– sizeAxisDataSourceMinForSizeAxis:

Get minimal value of markers' sizes. If no implementation is provided, the minimal size is calculated according to the data.

- (NSNumber *)sizeAxisDataSourceMinForSizeAxis:(NChartSizeAxis *)sizeAxis

Parameters

sizeAxis
  • the size axis to obtain the minimal value for.

Return Value

the minimal value of markers' sizes. It may be nil that is equivalent to the absence of implementation.

See Also

Declared In

NChartSizeAxis.h

– sizeAxisDataSourceMaxForSizeAxis:

Get maximal value of markers' sizes. If no implementation is provided, the maximal size is calculated according to the data.

- (NSNumber *)sizeAxisDataSourceMaxForSizeAxis:(NChartSizeAxis *)sizeAxis

Parameters

sizeAxis
  • the size axis to obtain the maximal value for.

Return Value

the maximal value of the markers' sizes. It may be nil that is equivalent to the absence of implementation.

See Also

Declared In

NChartSizeAxis.h