NChartPointAnalyzer Class Reference
Inherits from | NSObject |
---|---|
Declared in | NChartPointAnalyzer.h |
Overview
The NChartPointAnalyzer provides basic methods to scan the given array of chart points and perform some analytics.
+ pointAnalyzer
Create instance of point analyzer.
+ (id)pointAnalyzer
Return Value
an authoreleased instance of point analyzer.
Declared In
NChartPointAnalyzer.h
– analyzePoints:
Perform the analytics on an array of points. This method is implemented in subclasses. It takes into account all the states inside the points given.
- (NSArray *)analyzePoints:(NSArray *)points
Parameters
points |
|
---|
Return Value
array of result points. Note, that these points can be obtained from the array given, but also generated anew, or both according to the logic of particular point analyzer.
Declared In
NChartPointAnalyzer.h
– analyzePoints:withStateIndex:
Perform the analytics on an array of points. This method is implemented in subclasses. It takes into account the point states with given index only.
- (NSArray *)analyzePoints:(NSArray *)points withStateIndex:(NSUInteger)stateIndex
Parameters
points |
|
---|---|
stateIndex |
|
Return Value
array of result points. Note, that these points can be obtained from the array given, but also generated anew, or both according to the logic of particular point analyzer.
Declared In
NChartPointAnalyzer.h
stepDimension
Key of the value that should be interpreted as step dimension. Typically it is NChartValueX (which is the default value), however for bar series it should be NChartValueY.
@property (nonatomic, assign) NChartValue stepDimension
Declared In
NChartPointAnalyzer.h
valueDimension
Key of the value that should be interpreted as height dimension. Typically it is NChartValueY (which is the default value), however for bar series it should be NChartValueX.
@property (nonatomic, assign) NChartValue valueDimension
Declared In
NChartPointAnalyzer.h