TextFormatter
Type module
Sources
Items from TextFormatter can be imported/included and used via following ways.
/** * Import via: TextFormatter.ts * Access items like: $textformatter.myVariable */import * as $textformatter from "@amcharts/amcharts4/TextFormatter";Variables
formatterType
TextFormatter
Functions
getTextFormatter()Returns
TextFormatterReturns the global instance of
TextFormatter.All classes and instances should reuse this universal text formatter, rather than create their own instance of it.