removeFrom method

  1. @override
void removeFrom(
  1. BaseChart<D> chart
)
override

Removes the behavior from a chart.

Implementation

@override
void removeFrom(BaseChart<D> chart) {
  chart
      .getSelectionModel(selectionModelType)
      .removeSelectionChangedListener(_selectionChanged);
  chart
    ..removeLifecycleListener(_lifecycleListener)
    ..removeView(this);
}