Cleanup chart object.