NChartRawArrayElementType Constants Reference
| Declared in | NChartTypes.h |
|---|
NChartRawArrayElementType
The NChartRawArrayElementType enum provides types of elements encoded in raw arrays, for example, NChartScatterArray.
Definition
typedef NS_ENUM(NSUInteger, NChartRawArrayElementType ) {
NChartRawArrayElementTypeXY,
NChartRawArrayElementTypeXYValue,
NChartRawArrayElementTypeXYValueSize,
NChartRawArrayElementTypeXYZValue,
NChartRawArrayElementTypeXYColor,
NChartRawArrayElementTypeXYColorSize,
NChartRawArrayElementTypeXLowHigh,
};
Constants
NChartRawArrayElementTypeXY-
Each two subsequent values in the raw array represent X and Y correspondingly.
Declared In
NChartTypes.h. NChartRawArrayElementTypeXYValue-
Each three subsequent values in the raw array represent X, Y, and Value correspondingly. Value is an auxillary number used for coloring via the brush scales (see NChartBrushScale).
Declared In
NChartTypes.h. NChartRawArrayElementTypeXYValueSize-
Each four subsequent values in the raw array represent X, Y, Value, and Size correspondingly. Value is an auxillary number used for coloring via the brush scales (see NChartBrushScale).
Declared In
NChartTypes.h. NChartRawArrayElementTypeXYZValue-
Each four subsequent values in the raw array represent X, Y, Z, and Value correspondingly. Value is an auxillary number used for coloring via the brush scales (see NChartBrushScale).
Declared In
NChartTypes.h. NChartRawArrayElementTypeXYColor-
Each three subsequent values in the raw array represent X, Y, and Color correspondingly. Color is an integer representation of the RGBA color casted to double value to keep uniform shape and alignment of the elements. You can supply your color like this:
color = (double)(((r & 0xFF) << 24) | ((g & 0xFF) << 16) | ((b & 0xFF) << 8) | (a & 0xFF)), where r, g, b, a are integers in range 0..255.Declared In
NChartTypes.h. NChartRawArrayElementTypeXYColorSize-
Each four subsequent values in the raw array represent X, Y, Color, and size correspondingly. Color is represented as described in
NChartRawArrayElementTypeXYColor. Size is a scatter marker diameter given in pixels.Declared In
NChartTypes.h. NChartRawArrayElementTypeXLowHigh-
Each three subsequent values in the raw array reprsent X, Low, and High correspondingly.
Declared In
NChartTypes.h.
Declared In
NChartTypes.h