onPinch method Null safety

void onPinch(
  1. ChartAxisRendererDetails axisDetails,
  2. double position,
  3. double scaleFactor
)

Pinching can be performed by moving two fingers over the chart.

  • position - which position have to zoom in the axis. scaleFacator - scale factor is a number which scales some quantity in charts.

Implementation

void onPinch(ChartAxisRendererDetails axisDetails, double position,
    double scaleFactor);