removeFrom method
Removes the behavior from a chart.
Implementation
@override
void removeFrom(BaseChart<D> chart) {
chart
.getSelectionModel(selectionModelType)
.removeSelectionChangedListener(_selectionChanged);
chart
..removeLifecycleListener(_lifecycleListener)
..removeView(this);
}