ORKRangedPoint Class Reference

Inherits from NSObject
Declared in ORKRangedPoint.h

The ORKRangedPoint class represents a ranged point used in a graph plot.

– initWithMinimumValue:maximumValue:

Returns a range point initialized using the specified minimumValue and maximumValue.

- (instancetype)initWithMinimumValue:(CGFloat)minimumValue maximumValue:(CGFloat)maximumValue

Parameters

minimumValue

The minimumValue to set.

maximumValue

The maximumValue to set.

Return Value

A range point.

Declared In

ORKRangedPoint.h

– initWithValue:

Returns a range point initialized using the specified value for both minimumValue and maximumValue. This is useful for creating points that model a single data value without a range.

- (instancetype)initWithValue:(CGFloat)value

Parameters

value

The minimumValue and maximumValue to set.

Return Value

A range point.

Discussion

This method is a convenience initializer.

Declared In

ORKRangedPoint.h

  maximumValue

The upper limit of the range represented by this point. The default value of this property is zero.

@property (nonatomic) CGFloat maximumValue

Declared In

ORKRangedPoint.h

  minimumValue

The lower limit of the range represented by this point. The default value of this property is zero.

@property (nonatomic) CGFloat minimumValue

Declared In

ORKRangedPoint.h

  hasEmptyRange

A Boolean value indicating that minimumValue is equal to maximumValue. (read-only)

@property (nonatomic, readonly) BOOL hasEmptyRange

Declared In

ORKRangedPoint.h

  isUnset

A Boolean value indicating that both minimum value and maximum value have not been set. (read-only)

@property (nonatomic, readonly) BOOL isUnset

Declared In

ORKRangedPoint.h