tickFormat method

  1. @override
String Function(double) tickFormat([
  1. int count = 10,
  2. String? specifier
])
override

Returns a tick format function.

Implementation

@override
String Function(double) tickFormat([int count = 10, String? specifier]) {
  return (double value) {
    if (_base == 10) {
      return value.toStringAsExponential(0);
    }
    return value.toString();
  };
}