Chart.ToolTipDelay

Syntax

ToolTipDelay: Number;

Description

The ToolTipDelay property determines delay before a tooltip is displayed.

Comments

The property value is set in the Chart constructor or using the setToolTipDelay method and is returned using the getToolTipDelay method.

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