ORKValueStack Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | ORKValueCollectionType |
| Declared in | ORKChartTypes.h ORKChartTypes.m |
Overview
The ORKValueStack class represents an arbitrary list of values of the double type. It can be used
in graph chart plots to draw stacked values.
Other Methods
– init
Returns an empty value stack.
- (instancetype)initReturn Value
An empty value stack object.
Declared In
ORKChartTypes.h
– initWithStackedValues:
Returns a value stack initialized with the passed NSNumber array.
- (instancetype)initWithStackedValues:(NSArray<NSNumber*> *)stackedValuesParameters
stackedValues |
An array containing |
|---|
Return Value
A value stack object initialized with the passed NSNumber values.
Declared In
ORKChartTypes.h
stackedValues
An array of NSNumber objects, each one representing a stacked double value.
@property (nonatomic, copy, readonly) NSArray<NSNumber*> *stackedValuesDeclared In
ORKChartTypes.h
totalValue
The total sum of the stacked double values
@property (nonatomic) double totalValueDeclared In
ORKChartTypes.h
Other Methods
– isUnset
A Boolean value indicating that the value is unset. (read-only)
- (BOOL)isUnsetDeclared In
ORKChartTypes.h