Text

Properties associated with text attributes :


align option
Default horizontal alignment for drawing text.
Default: center
Options: right, center, left
Used in: all visualizations
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
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
baseline option
Default vertical alignment for drawing text.
Default: middle
Options: top, middle, bottom
Used in: all visualizations
fontName option
Font name. It will be set depending on the browser.
Default: Arial
Options: Courier, Arial, Verdana, sans-serif, Indie Flower, Ubuntu, Architects Daughter, Roboto
Used in: all visualizations
fontName option
Font name. It will be set depending on the browser.
Default: Arial
Options: Courier, Arial, Verdana, sans-serif, Indie Flower, Ubuntu, Architects Daughter, Roboto
Used in: all visualizations
Scaling factor used to increase or decrease the font size in the canvas.
Default: 1
Used in: all visualizations
Scaling factor used to increase or decrease the font size in the canvas.
Default: 1
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
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:
Options: , bold, italic, bold italic
Used in: all visualizations
fontStyle option
Font style.
Default:
Options: , bold, italic, bold italic
Used in: all visualizations
maxTextSize integer
Maximum size for any text in the canvas.
Default: 40
Used in: all visualizations
maxTextSize integer
Maximum size for any text in the canvas.
Default: 40
Used in: all visualizations
minTextSize integer
Minimum size for any text in the canvas.
Default: 4
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.0
Used in: all visualizations
scaleTextConstantAdd float Private
Constants to autoscale text (extra)
Default: 2.0
Used in: all visualizations
scaleTextConstantMult integer Private
Constants to autoscale text
Default: 25
Used in: all visualizations
scaleTextConstantMult integer Private
Constants to autoscale text
Default: 25
Used in: all visualizations