Clean up for ChartFragment.