Class Tee.Font
Style and fill properties to display text
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Font(chart)
|
Field Attributes | Field Name and Description |
---|---|
Color used to fill texts using this font.
|
|
Attributes to fill a shadow behind text.
|
|
Attributes to draw an outline around text.
|
|
Font family, size and attributes.
|
|
Defines to draw text at left, right or center inside container.
|
Class Detail
Tee.Font(chart)
- Parameters:
- {Tee.Chart} chart
- The parent chart this font object belongs to.
Field Detail
{Color}
fill
Color used to fill texts using this font.
- Default Value:
- "black"
{Tee.Shadow}
shadow
Attributes to fill a shadow behind text.
{Tee.Stroke}
stroke
Attributes to draw an outline around text.
{String}
style
Font family, size and attributes.
- Default Value:
- "11px Tahoma"
{String}
textAlign
Defines to draw text at left, right or center inside container.
- Default Value:
- "center"