For series on a datetime axes, the date format in the tooltip's header will by default be guessed based on the closest data points. This member gives the default string representations used for each unit. . . Note that when data grouping applies, the date time label formats are pulled from dataGrouping.dateTimeLabelFormats instead, because it also allows formatting of time spans.. . For an overview of the replacement codes, see dateFormat.. . Defaults to:.
{. millisecond:"%A, %b %e, %H:%M:%S.%L",. second:"%A, %b %e, %H:%M:%S",. minute:"%A, %b %e, %H:%M",. hour:"%A, %b %e, %H:%M",. day:"%A, %b %e, %Y",. week:"Week from %A, %b %e, %Y",. month:"%B %Y",. year:"%Y". }
Whether the tooltip should follow the mouse as it moves across columns, pie slices and other point types with an extent. By default it behaves this way for scatter, bubble and pie series by override in the plotOptions
for those series types. .
For touch moves to behave the same way, followTouchMove must be true
also.
Whether the tooltip should follow the finger as it moves on a touch device. In order to take effect, chart.zoomType and chart.pinchType must be disabled.
The HTML of the tooltip header line. Variables are enclosed by curly brackets. Available variables are point.key
, series.name
, series.color
and other members from the point
and series
objects. The point.key
variable contains the category name, x value or datetime string depending on the type of axis. For datetime axes, the point.key
date format can be set using tooltip.xDateFormat.. .
Defaults to <span style="font-size: 10px">{point.key}</span><br/>
The HTML of the point's line in the tooltip. Variables are enclosed by curly brackets. Available variables are point.x, point.y, point.change, series.name and series.color and other properties on the same form. Furthermore, point.y can be extended by the tooltip.valuePrefix and tooltip.valueSuffix variables. This can also be overridden for each series, which makes it a good hook for displaying units.
A callback function for formatting the HTML output for a single point in the tooltip. Like the pointFormat
string, but with more flexibility.
The name of a symbol to use for the border around the tooltip. In Highstock 1.x, the shape was square
.
The format for the date in the tooltip header. If data grouping is used, the default is a smart guess based on how close the closest points are. It is pulled from the #plotOptions.dataGrouping.dateTimeLabelFormats array.