NChartSizeAxis Class Reference

Inherits from NChartAxis : NChartObject : NSObject
Declared in NChartSizeAxis.h

Overview

The NChartSizeAxis class provides methods to scale the sizes of NChartMarker objects. The idea is to map the value of marker’s size that is assumed to be in (minValue, maxValue) to the (minSize, maxSize). For example if a particular marker has size 0.3555, minValue = 0, maxValue = 1, minSize = 10 (pixels) and maxSize = 100 (pixels), the actual size of the marker on the screen will be 42 pixels.

  minValue

Minimal value of the markers' sizes.

@property (nonatomic, readonly) double minValue

Declared In

NChartSizeAxis.h

  maxValue

Maximal value of the markers' sizes.

@property (nonatomic, readonly) double maxValue

Declared In

NChartSizeAxis.h

  minSize

Minimal size of the markers on the screen in pixels.

@property (nonatomic, readonly) float minSize

Declared In

NChartSizeAxis.h

  maxSize

Maximal size of the markers on the screen in pixels.

@property (nonatomic, readonly) float maxSize

Declared In

NChartSizeAxis.h

  shouldIgnoreZoom

Flag determining if markers should ignore chart’s zoom (YES) or not (NO). The default value is NO.
If this flag is set to YES, markers are not zoomed with the chart and remain in their size (value of their size property). Otherwise, size of markers corresponds to their size property when zoom is 1.0 only.

@property (nonatomic, assign) BOOL shouldIgnoreZoom

Declared In

NChartSizeAxis.h

  dataSource

Data source of the axis

@property (nonatomic, assign) id<NChartSizeAxisDataSource> dataSource

Declared In

NChartSizeAxis.h