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