ORKValueRange Class Reference
Inherits from | NSObject |
---|---|
Conforms to | ORKValueCollectionType |
Declared in | ORKChartTypes.h |
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)maximumValue
Parameters
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)value
Parameters
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)init
Return 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 maximumValue
Declared In
ORKChartTypes.h
minimumValue
The lower limit of the value range.
@property (nonatomic) double minimumValue
Declared In
ORKChartTypes.h
isEmptyRange
A Boolean value indicating that minimumValue
is equal to maximumValue
. (read-only)
@property (nonatomic, readonly) BOOL isEmptyRange
Declared 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 isUnset
Declared In
ORKChartTypes.h