Chart Value Formatters
Standard ChartValueFormatter factories.
Finite values are rounded half away from zero using the decimal representation returned by abs(value).toString(), not the exact binary fraction. Scientific notation is expanded, and negative zero is suppressed. Nonfinite values are displayed as NaN, Infinity, and -Infinity.
This assumes the platform's Double string uses decimal digits, an optional dot, and an optional e/E exponent. Last-digit differences between platform string representations can affect rounding at a boundary.