Text

Properties associated with text attributes :

align option
Default horizontal alignment for drawing text.
Default: center
Options: right, center, left
Used in: all visualizations
autoScaleFont boolean
Flag to automatically adjust the font size in many visualization. Please be aware that scaling factors can still modify the font size. This flag needs to be false for the text to accept the specified font size.
Default: true
Used in: all visualizations
baseline option
Default vertical alignment for drawing text.
Default: middle
Options: top, middle, bottom
Used in: all visualizations
font font Private
The combination of font name style and size.
Default: Verdana 12pt
Used in: all visualizations
fontName option
Font name. It will be set depending on the browser.
Default: Verdana
Options: Courier, Arial, Verdana
Used in: all visualizations
fontSize integer
Font size for text in complex plot only. See other categories to modify specific font sizes.
Default: 12
Used in: all visualizations
fontStyle option
Font style. @default
Default:
Options: , bold, italic, bold italic
Used in: all visualizations
maxTextSize integer
Maximum size for any text in the canvas.
Default: 14
Used in: all visualizations
minTextSize integer
Minimum size for any text in the canvas.
Default: 4
Used in: all visualizations
scaleTextConstantAdd float Private
Constants to autoscale text (extra)
Default: 2.5
Used in: all visualizations
scaleTextConstantMult integer Private
Constants to autoscale text
Default: 40
Used in: all visualizations