onTouchDown method

  1. @override
void onTouchDown(
  1. double xPos,
  2. double yPos
)
override

Performs the touch-down action of appropriate point.

Hits while tapping on the chart.

  • xPos - X value of the touch position.
  • yPos - Y value of the touch position.

Implementation

@override
void onTouchDown(double xPos, double yPos) =>
    _tooltipBehavior.showByPixel(xPos, yPos);