NChartTreeSeriesSettings Class Reference
Inherits from | NChartSolidSeriesSettings : NChartSeriesSettings : NSObject |
---|---|
Declared in | NChartTreeSeries.h |
margin
Margin of the tree boxes in pixels (the default value is 5). This is the distance between the tree boxes.
@property (nonatomic, assign) float margin
Declared In
NChartTreeSeries.h
childrenInLine
The number of children allowed to be placed in one line. It is useful to reduce the width of the tree. If this number is bigger than 0, for each node, layout engine will try not to let more children in a line than the value of this property. The lines are broken so children occupy multiple of them and the tree grows vertically rather than horizontally. However, it must be noted, that this value is just a hint. Sometimes it is not possible to break a line with children, so the resiriction given by this property may be violeted any time. The default value is 0 (no line breaks).
@property (nonatomic, assign) int childrenInLine
Discussion
This property works per node. For example, if it is set to 2, it means, each node (and not the whole tree) should ideally have only two children in a line.
Declared In
NChartTreeSeries.h