Cleanup the Chart backend.