NChartColumnSeriesSettings Class Reference
Inherits from | NChartSolidSeriesSettings : NChartSeriesSettings : NSObject |
---|---|
Declared in | NChartColumnSeries.h |
cylindersResolution
The resolution of cylinders. Resolution is the amount of vertices that build the circle. For example if you want to get a square column, you should set resolution to 4. If you want to get a cylindrical column, you may set a larger value. But the larger is the resolution, the more memory is used and the slower the rendering will be, so you should find out the minimal acceptable value. A good value for cylinder is 16 or 20. The default value is 4.
@property (nonatomic, assign) NSUInteger cylindersResolution
Discussion
This value cannot be less than 3 and greater than 32.
Declared In
NChartColumnSeries.h
shouldSmoothCylinders
Flag that determines if cylinders should appear smooth (YES) of faced (NO). Generally if you specify low resolution (see cylindersResolution for details) when the individual faces are still visible, it is a good idea to have cylinders faced and vice versa. The default value is NO.
@property (nonatomic, assign) BOOL shouldSmoothCylinders
Discussion
If cylinders are faced, it consumes more memory than if they don’t by the same resolution.
Declared In
NChartColumnSeries.h
shouldGroupColumns
Flag that determines if columns should be grouped in the coordinate system cells (YES), or not (NO). The default
value is YES.
If you have a lot of points that share the same cells, it is good idea to set this flag to YES
(to let the default), so the columns sharing the cell are distributed in it. However if you have more than one
series which points are not sharing the same cells (for example, each series has only one point that monopolizes the
cell), it is better to set this flag to NO, so the points are not distributed and each one takes its whole cell.
@property (nonatomic, assign) BOOL shouldGroupColumns
Declared In
NChartColumnSeries.h
columnGroupFillRatio
Column group fill ratio for series that determines the amount of place for one column group (for more information
about column groups, see shouldGroupColumns). For example, if this fill ratio is 1.0, columns in the group are
sticked together with no gaps between them. If the fill ratio is 0.5, columns in the group have gaps and the total
width of the gaps is equal to the total width all columns in the group. The default value is 1.0.
The difference from fillRatio
is that fillRatio
deals with the gap between column groups and
columnGroupFillRatio
is responsible for the gap between columns inside the group.
@property (nonatomic, assign) float columnGroupFillRatio
Declared In
NChartColumnSeries.h
animationType
Animation type of the transition. The default value is NChartColumnAnimationTypeSimultaneously
.
@property (nonatomic, assign) NChartColumnAnimationType animationType
Declared In
NChartColumnSeries.h
cornerRadius
Corner radius of the columns relative to the actual column width. The default value is 0.
If the radius is 0, columns have sharp corners. If the radius is 1, columns have rounded corners with the
radius equal to the half of the columns' width.
@property (nonatomic, assign) float cornerRadius
Declared In
NChartColumnSeries.h
thickness
Custom thickness of columns in chart coordinates. The default value is 0, which means the thickness is calculated
automatically based on the grid resolution and fillRatio
(or columnGroupFillRatio
if applicable). However if the thickness is set to positive number other than 0, it overrides the automatic
calculation. The units are derived from the value axis of the kind set by thicknessResolvingValueAxis
.
For example, if thicknessResolvingValueAxis = NChartValueAxisX
, thickness = 0.5
and the
X-axis' min = 0, max = 1, the actual width of columns will be half the X-Axis length.
@property (nonatomic, assign) float thickness
Declared In
NChartColumnSeries.h
thicknessResolvingValueAxis
Axis kind the thickness
is calculated by. The default value is NChartValueAxisX
.
See thickness
property for details.
@property (nonatomic, assign) NChartValueAxisKind thicknessResolvingValueAxis
Discussion
This property has no effect when thickness = 0
.
Declared In
NChartColumnSeries.h