onLongPress method
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) =>
_tooltipRenderingDetails.tooltipBehavior.showByPixel(xPos, yPos);