Formats the point argument before it is displayed in the tooltip. To format the point value, use the format option.
Specifies the container in which to draw tooltips. The default container is the HTML DOM
This option should be assigned a function returning a specific object. The following fields can be specified in this object.
Specifies the color of a tooltip.
Specifies the text displayed by a tooltip.
Specifies the HTML markup displayed by a tooltip.NOTEIf you are going to use external resources (for example, images) in the markup, specify the size of the area they will occupy beforehand.
Specifies the color of the text displayed by a tooltip.
Specifies the color of the tooltip border.
When implementing the function for this option, you can use information about the tooltip's point. For example, you can access the argument or value of this point. To do this, use the following fields of the this object.
Specifies the value of the currently hovered point.
Specifies the value of the currently hovered point with applied formatting if the format property is specified.
Specifies the argument value of the currently hovered point.
Specifies the argument value of the currently hovered point with applied formatting if the argumentFormat property is specified.
Specifies the percent value of the currently hovered point.
Specifies the percent value of the currently hovered point with percentPrecision (optional) applied.
Provides access to the hovered point. To learn more about the field and methods of the point object, refer to the Point topic in the "Chart Elements" reference section.
The function's parameter represents the same object as the this object. If appropriate, you can use the function's parameter to obtain the value that is currently represented by a tooltip.
To get general information on data formatting, refer to the Data Formatting topic.
If the widget's container has the CSS z-index property specified, and tooltips are displayed incorrectly, configure their z-index using this option.