Vizzu / types/styles / Text
Interface: Text
Text formatting properties.
Properties
color?
optional
color:null
|Color
The color of the displayed text.
maxFractionDigits?
optional
maxFractionDigits:null
|number
The maximum number of digits in fraction part if the text contains a number.
numberFormat?
optional
numberFormat:null
|"none"
|"grouped"
|"prefixed"
The format of the number. Only applicable for texts showing numerical data such as marker and axis labels. 'grouped' uses thousand separators (e.g. 1 234 567), 'prefixed' uses scientific notation (e.g. 1.234k).
numberScale?
optional
numberScale:null
|string
Number scale used for prefixed number format.
textAlign?
optional
textAlign:null
|"center"
|"left"
|"right"
The alignment of the displayed text.