onLongPress method

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

Performs the double-tap action of appropriate point.

Hits while a long tap on the chart.

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

Implementation

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