calcMinMax method
Computes the axis ranges from the data.
Implementation
@override
void calcMinMax() {
final data = this.data;
if (data == null) return;
xAxis.calculate(data.xMin, data.xMax);
axisLeft.calculate(
data.getYMin(AxisDependency.LEFT),
data.getYMax(AxisDependency.LEFT),
);
axisRight.calculate(
data.getYMin(AxisDependency.RIGHT),
data.getYMax(AxisDependency.RIGHT),
);
}