Class Format
Contains visual parameters like fill, shadow, image, font
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Format(chart)
|
Method Attributes | Method Name and Description |
---|---|
textHeight(text)
|
|
textWidth(text)
|
Class Detail
Format(chart)
- Parameters:
- {Tee.Chart} chart
- The parent chart this format object belongs to.
Method Detail
{Number}
textHeight(text)
- Parameters:
- text
- Returns:
- {Number} Returns the height in pixels of a given text using current font size and attributes.
{Number}
textWidth(text)
- Parameters:
- text
- Returns:
- {Number} Returns the width in pixels of a given text using current font size and attributes.