The NChartPointAnalyzer provides basic methods to scan the given array of chart points and perform some analytics. More...
Public Member Functions | |
NChartPointAnalyzer () | |
Create instance of point analyzer. | |
NChartPoint[] | analyzePoints (NChartPoint[] points) |
Perform the analytics on an array of points. More... | |
NChartPoint[] | analyzePoints (NChartPoint[] points, int stateIndex) |
Perform the analytics on an array of points. More... | |
NChartValue | getStepDimension () |
Key of the value that should be interpreted as step dimension. More... | |
void | setStepDimension (NChartValue stepDimension) |
For details see getStepDimension(). | |
NChartValue | getValueDimension () |
Key of the value that should be interpreted as height dimension. More... | |
void | setValueDimension (NChartValue valueDimension) |
For details see getValueDimension(). | |
Detailed Description
The NChartPointAnalyzer provides basic methods to scan the given array of chart points and perform some analytics.
Member Function Documentation
|
inline |
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.
- Parameters
-
points - array of points to analyze.
- Returns
- 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.
|
inline |
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.
- Parameters
-
points - array of points to analyze. stateIndex - index of point state to take into account.
- Returns
- 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.
|
inline |
Key of the value that should be interpreted as step dimension.
Typically it is NChartValue.X (which is the default value), however for bar series it should be NChartValue.Y.
|
inline |
Key of the value that should be interpreted as height dimension.
Typically it is NChartValue.Y (which is the default value), however for bar series it should be NChartValue.X.