ORKValueRange Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | ORKValueCollectionType |
| Declared in | ORKChartTypes.h ORKChartTypes.m |
Overview
The ORKValueRange class represents a range between two values of the double type. It can be used
in graph chart plots to draw value ranges.
– initWithMinimumValue:maximumValue:
Returns a value range initialized using the specified minimumValue and maximumValue.
- (instancetype)initWithMinimumValue:(double)minimumValue maximumValue:(double)maximumValueParameters
minimumValue |
The |
|---|---|
maximumValue |
The |
Return Value
A value range object.
Declared In
ORKChartTypes.h
– initWithValue:
Returns a value range initialized using the specified value for both minimumValue and
maximumValue. This is useful for plotting data points that model a single value with no range.
- (instancetype)initWithValue:(double)valueParameters
value |
The |
|---|
Return Value
A value range object.
Discussion
This method is a convenience initializer.
Declared In
ORKChartTypes.h
– init
Returns a value range initialized using the ORKDoubleInvalidValue value for both minimumValue
and maximumValue. This denotes an unset or invalid value range. It is useful, for example, for
representing unavailable data in discontinous graph chart plots.
- (instancetype)initReturn Value
A value range object initialized with the ORKDoubleInvalidValue value.
Discussion
This method is a convenience initializer.
Declared In
ORKChartTypes.h
maximumValue
The upper limit of the value range.
@property (nonatomic) double maximumValueDeclared In
ORKChartTypes.h
minimumValue
The lower limit of the value range.
@property (nonatomic) double minimumValueDeclared In
ORKChartTypes.h
isEmptyRange
A Boolean value indicating that minimumValue is equal to maximumValue. (read-only)
@property (nonatomic, readonly) BOOL isEmptyRangeDeclared In
ORKChartTypes.h
isUnset
A Boolean value indicating that both minimum value and maximum value are equal to the
ORKDoubleInvalidValue value. (read-only)
@property (nonatomic, readonly) BOOL isUnsetDeclared In
ORKChartTypes.h