onTapTest method
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);
}