getTransformer method

  1. @override
Transformer? getTransformer(
  1. AxisDependency which
)
override

Returns the Transformer class that contains all matrices and is responsible for transforming values into pixels on the screen and backwards.

@return

Implementation

@override
Transformer? getTransformer(AxisDependency which) {
  if (which == AxisDependency.left) {
    return _leftAxisTransformer;
  } else {
    return _rightAxisTransformer;
  }
}