AnimatedZoomJob constructor

AnimatedZoomJob(
  1. ViewPortHandler? viewPortHandler,
  2. ChartInvalidator? view,
  3. Transformer? transformer,
  4. YAxis? yAxis,
  5. double xAxisRange,
  6. double scaleX,
  7. double scaleY,
  8. double xOrigin,
  9. double yOrigin,
  10. double zoomCenterX,
  11. double zoomCenterY,
  12. double zoomOriginX,
  13. double zoomOriginY,
  14. int duration,
)

Creates a job; use getInstance to take one from the pool instead.

scaleX and scaleY are the absolute scales when the animation ends; they are stored as xValue and yValue.

Implementation

AnimatedZoomJob(
  ViewPortHandler? viewPortHandler,
  ChartInvalidator? view,
  Transformer? transformer,
  this.yAxis,
  this.xAxisRange,
  double scaleX,
  double scaleY,
  double xOrigin,
  double yOrigin,
  this.zoomCenterX,
  this.zoomCenterY,
  this.zoomOriginX,
  this.zoomOriginY,
  int duration,
) : super(
      viewPortHandler,
      scaleX,
      scaleY,
      transformer,
      view,
      xOrigin,
      yOrigin,
      duration,
    );