onTapTest method

  1. @protected
bool onTapTest(
  1. Point<double> localPosition
)

Implementation

@protected
bool onTapTest(Point<double> localPosition) {
  if (_chart == null) {
    return false;
  }

  // If the user taps the chart, stop the hint animation immediately.
  stopHintAnimation();

  return _chart!.withinDrawArea(localPosition);
}