You have to call cleanup method of the NChartView every time you deleting the view.
For example, you can have the following code in your activity:
// Chart view
NChartView chartView;
@Override
public void onDestroy() {
super.onDestroy();
chartView.destroyDrawingCache();
chartView.cleanup();
chartView = null;
}
Comments
No comments yet.
Please log in to place a comment.