com.nchart3d.NChart.NChartMasterDetailView Class Reference

The NChartMasterDetailView class provides a view to display master chart (with range selector) and detail chart. More...

Inheritance diagram for com.nchart3d.NChart.NChartMasterDetailView:
com.nchart3d.NChart.NChartTextureView

Public Member Functions

NChart getMasterChart ()
 Instance of master chart. More...
 
NChart getDetailChart ()
 Instance of detail chart. More...
 
float getMasterChartHeightRatio ()
 Relative height of master chart. More...
 
NChartRange getRange ()
 Range selector.
 
void setLicenseKey (String licenseKey)
 License key for chart the view is displaying.
 
- Public Member Functions inherited from com.nchart3d.NChart.NChartTextureView
NChart getChart ()
 Get chart instance. More...
 
void setLicenseKey (String licenseKey)
 License key for chart the view is displaying.
 
Bitmap createScreenshot ()
 Create screenshot from view. More...
 

Detailed Description

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.

Member Function Documentation

NChart com.nchart3d.NChart.NChartMasterDetailView.getDetailChart ( )
inline

Instance of detail chart.

It is created with the view's creation and destroyed with its destruction. This is an alias to chart property of NChartView.

See also
NChart
NChart com.nchart3d.NChart.NChartMasterDetailView.getMasterChart ( )
inline

Instance of master chart.

It is created with the view's creation and destroyed with its destruction.

See also
NChart
float com.nchart3d.NChart.NChartMasterDetailView.getMasterChartHeightRatio ( )
inline

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.