Unregister dc chart when changing chart