NChartTreeSeries Class Reference
Inherits from | NChartSolidSeries : NChartSeries : NChartObject : NSObject |
---|---|
Declared in | NChartTreeSeries.h |
Overview
The NChartTreeSeries class provides methods to display tree series.
This type of series is a bit different from the others, because it supports series' hierarchy. You can append points
to this series (via the NChartSeriesDataSource, just like to any other series), and these points will be shown as
leafs of the tree. But also you can append other
– addSubSeries:
Add subseries. Use this to create subcategories in the tree.
- (void)addSubSeries:(NChartTreeSeries *)series
Parameters
series |
|
---|
Declared In
NChartTreeSeries.h
– removeSubSeries:
Remove subseries.
- (void)removeSubSeries:(NChartTreeSeries *)series
Parameters
series |
|
---|
Declared In
NChartTreeSeries.h
subSeries
Array of subseries.
@property (nonatomic, readonly) NSArray *subSeries
Declared In
NChartTreeSeries.h
label
Label that will be displayed in the corresponding box of the tree.
@property (nonatomic, strong) NChartTooltip *label
Declared In
NChartTreeSeries.h
tooltip
Tooltip that will be displayed above the the corresponding box of the tree.
@property (nonatomic, strong) NChartTooltip *tooltip
Declared In
NChartTreeSeries.h
connectionLineColor
Color of connection lines. The default value is black color.
@property (nonatomic, strong) NSColor *connectionLineColor
Declared In
NChartTreeSeries.h
connectionLineThickness
Thickness of connection lines (in pixels). The default value is 1.0.
@property (nonatomic, assign) float connectionLineThickness
Declared In
NChartTreeSeries.h
rim
Rim marker to control inset/outset.
@property (nonatomic, strong) NChartRim *rim
Declared In
NChartTreeSeries.h
– zoomToSubtreeWithDuration:delay:
Zoom the chart to subtree of this series.
- (void)zoomToSubtreeWithDuration:(float)duration delay:(float)delay
Parameters
duration |
|
---|---|
delay |
|
Declared In
NChartTreeSeries.h