DXRangeBase Class

The base class for all ranges in the Charts for iOS suite.

Declaration

@interface DXRangeBase

Properties

Constructors

DXRangeBase.sideMarginValue Property

Gets or sets the axis side margin, in axis units.

Declaration

@property (readwrite) CGFloat sideMarginValue

Property Value

Type Description
CGFloat

The axis' side margin, in axis units.

For the qualitative range, the one axis unit is the distance between two qualitative axis values.

For the date-time range, the DXDateTimeAxisX.measureUnit property specifies axis units.

Instance Methods

Constructors

DXRangeBase.reset Instance Method

Sets an axis range's min and max value to minimum and maximum values of a data range.

Declaration

- (void)reset

Note that the visual range is modified to be within a new axis range.

DXRangeBase.resetVisualRange Instance Method

Sets a range's visualMin to min value and visualMax to max value.

Declaration

- (void)resetVisualRange