withUnit method

XAxisConfig withUnit(
  1. String value
)

Replaces XAxisConfig.unit with value.

Implementation

XAxisConfig withUnit(String value) => copyWith(unit: value);