getValueFormatter method
Returns the formatter used for formatting the axis labels.
@return
Implementation
ValueFormatter? getValueFormatter() {
// TODO: ALWAYS not null, remove optional
if (_axisValueFormatter == null ||
(_axisValueFormatter is DefaultAxisValueFormatter &&
(_axisValueFormatter as DefaultAxisValueFormatter).digits !=
_decimals)) {
_axisValueFormatter = DefaultAxisValueFormatter(_decimals);
}
return _axisValueFormatter;
}