onPinch method
void
onPinch()
override
Performs pinch zooming.
Implementation
@override
void onPinch(ChartAxisRendererDetails axisDetails, double position,
double scaleFactor) {
axisDetails.zoomFactor = scaleFactor;
axisDetails.zoomPosition = position;
}