unregisterTappable method

void unregisterTappable(
  1. ChartBehavior<D> behavior
)
inherited

Tells the chart that this behavior no longer responds to tap events.

Implementation

void unregisterTappable(ChartBehavior<D> behavior) {
  final role = behavior.role;
  if (_behaviorTappableMap[role] == behavior) {
    _behaviorTappableMap.remove(role);
  }
}