TenunFormatters class
Production-ready formatters for tooltips, axis labels, and legends.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
clearCache(
) → void - Clear caches when locale changes at runtime
-
compact(
double value, {String? locale}) → String - Compact number: 1.2K, 1.5M, etc.
-
date(
DateTime dt, String pattern, {String? locale}) → String - Date axis formatter
-
percent(
double value, int decimals, {String? locale}) → String - Percentage formatter
-
precise(
double value, int decimals, {String? locale}) → String - Fixed precision with thousand separators