com.nchart3d.NChart.NChartTextureView Class Reference

The NChartTextureView class provides a view to display the chart. More...

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

Public Member Functions

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 NChartTextureView class provides a view to display the chart.

This view can be added anywhere to view the hierarchy of the app like Android's TextureView.

This view can only be used in a hardware accelerated window (when rendered in software, it wont draw anything). But it can be flawlessly used within complex containers like ScrollView. You have to call cleanup when disposing this view.

Member Function Documentation

Bitmap com.nchart3d.NChart.NChartTextureView.createScreenshot ( )
inline

Create screenshot from view.

Returns
taken screenshot
NChart com.nchart3d.NChart.NChartTextureView.getChart ( )
inline

Get chart instance.

Created when the method is invoked for the first time.

See also
NChart