getAxisRange method

double getAxisRange(
  1. AxisDependency axis
)

Returns the range of the specified axis.

@param axis @return

Implementation

double getAxisRange(AxisDependency axis) {
  if (axis == AxisDependency.left) {
    return _axisLeft!.axisRange;
  } else {
    return _axisRight!.axisRange;
  }
}