Skip to main content
A newer version of this page is available.

DXRangeBase Class

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

Declaration

@interface DXRangeBase

Properties

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.

Remarks

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

reset Instance Method

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

Declaration

- (void)reset

Remarks

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

resetVisualRange Instance Method

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

Declaration

- (void)resetVisualRange