Removes the behavior from a chart.
@override void removeFrom(BaseChart<D> chart) { chart ..removeView(_view!) ..removeLifecycleListener(_lifecycleListener); _chart = null; }