The NChartView class provides a view to display the chart. More...
Inherits com.nchart3d.NChart.NGLView, and com.nchart3d.NChart.NChart.NChartAccessibilityView.
Public Member Functions | |
void | cleanup () |
Clean up memory. More... | |
NChart | getChart () |
Get chart instance. More... | |
Bitmap | createScreenshot () |
Create screenshot from view. More... | |
Detailed Description
The NChartView class provides a view to display the chart.
This view can be added anywhere to view the hierarchy of the app like Android's GLSurfaceView
.
This view can be used both with software rendering and hardware accelerated rendering. But it's not recommended to use this view within complex containers like ScrollView
. In case you need to have a chart inside ScrollView
please use NChartTextureView
instead. You have to call cleanup
when disposing this view.
Member Function Documentation
|
inline |
Clean up memory.
Call this method before deleting the view. Please, note that you have to call this method, or you will get memory leak.
|
inline |
Create screenshot from view.
- Returns
- last taken screenshot