Chart.ToolTipDelay

Syntax

ToolTipDelay: Number;

Description

The ToolTipDelay property determines delay before a tooltip is displayed.

Comments

Use JSON or the setToolTipDelay method to set the property value and the getToolTipDelay method to get the property value.

The property is set in milliseconds.

By default the value is 500.

Example

To execute the example, the HTML page must contain the Chart component named chart (see Example of Creating a Spline Chart). Set up tooltips displaying:

// Set up delay before tooltip displaying
chart.setToolTipDelay(1500);
// Set tooltip mask
chart.setToolTipFormatter("%SerieName, %PointName - %Autovalue");
// Set data format
chart.setToolTipDataFormat("#,##0.00");
// Remove the tooltip following the cursor
chart.setToolTipFollowPointer(false);
// Remove tooltip border color corresponding to the series color
chart.setUseIndicatorColorForToolTipBorder(false);

After executing the example tooltip settings were changed.

See also:

Chart