range method

DoubleRange range(
  1. RenderChartAxis axis
)

Implementation

DoubleRange range(RenderChartAxis axis) {
  if (axis == xAxis) {
    return xRange;
  } else {
    return yRange;
  }
}