onPinch abstract method

void onPinch(
  1. ChartAxisRenderer axisRenderer,
  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(
    ChartAxisRenderer axisRenderer, double position, double scaleFactor);