The problem of non-responsive chart is caused by removing chart canvas.