Replaces YAxisConfig.unit with value.
value
YAxisConfig withUnit(String value) => copyWith(unit: value);