removeFrom method

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

Removes the behavior from a chart.

Implementation

@override
void removeFrom(BaseChart<D> chart) {
  chart.removeGestureListener(_listener);
  chart.unregisterTappable(this);
  _chart = null;
}