withHeightBounds method

XAxisConfig withHeightBounds(
  1. double minHeight,
  2. double maxHeight
)

Replaces XAxisConfig.minHeight and XAxisConfig.maxHeight together.

The parameters are assert-coupled, so they only move as a pair.

Implementation

XAxisConfig withHeightBounds(double minHeight, double maxHeight) =>
    copyWith(minHeight: minHeight, maxHeight: maxHeight);