NChartMasterDetailView Class Reference
Inherits from | NChartView : NSView |
---|---|
Declared in | NChartMasterDetailView.h |
Overview
The NChartMasterDetailView class provides a view to display master chart (with range selector) and detail chart. The master chart is placed on the bottom and normally its height is smaller then the height of detail chart. It displays the entire data set. The detail chart is placed on the top. It displays only a part of data set selected by the master chart. This view can be added anywhere to view the hierarchy of the app.
masterChart
Instance of master chart. It is created with the view’s creation and destroyed with its destruction.
@property (nonatomic, readonly) NChart *masterChart
See Also
Declared In
NChartMasterDetailView.h
detailChart
Instance of detail chart. It is created with the view’s creation and destroyed with its destruction.
@property (nonatomic, readonly) NChart *detailChart
Discussion
This is an alias to chart
property of NChartView
.
See Also
Declared In
NChartMasterDetailView.h
masterChartHeightRatio
Relative height of master chart. Normally master chart’s height is smaller than the one of detail chart. This property determines the fraction of total view’s height occupying by master chart. 0 means master chart is invisible, 1 means detail chart is invisible, 0.5 means master and detail cahrts have the same height. The default value is 0.15.
@property (nonatomic, assign) CGFloat masterChartHeightRatio
Declared In
NChartMasterDetailView.h
range
Range selector.
@property (nonatomic, readonly) NChartRange *range
Declared In
NChartMasterDetailView.h