Vizzu / types/styles / Text
Interface: Text
Text formatting properties.
Properties
color?
optionalcolor:null|Color
The color of the displayed text.
maxFractionDigits?
optionalmaxFractionDigits:null|number
The maximum number of digits in fraction part if the text contains a number.
numberFormat?
optionalnumberFormat: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?
optionalnumberScale:null|string
Number scale used for prefixed number format.
textAlign?
optionaltextAlign:null|"center"|"left"|"right"
The alignment of the displayed text.