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