Class: Font

Font

Style and fill properties to display text

new Font

Parameters:
Name Type Description
chart Tee.Chart The parent chart this font object belongs to.
Properties:
Name Type Description
[style="11px Tahoma"] String Font family, size and attributes.
[fill="black"] Color Color used to fill texts using this font.
shadow Tee.Shadow Attributes to fill a shadow behind text.
stroke Tee.Stroke Attributes to draw an outline around text.
[textAlign="center"] String Defines to draw text at left, right or center inside container.
Source:
  • ../../src/teechart.js, line 654