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
    ..removeView(_view!)
    ..removeLifecycleListener(_lifecycleListener);
  _chart = null;
}