Series.tooltip
configurationThe data point tooltip configuration options.
series.tooltip
ObjectThe background color of the tooltip. The default is determined from the series color.
series.tooltip.border
ObjectThe border configuration options.
series.tooltip.color
StringThe text color of the tooltip. The default is the same as the series labels color.
series.tooltip.font
StringThe tooltip font.
Default: "12px Arial,Helvetica,sans-serif"
series.tooltip.format
StringThe tooltip format. Format variables depend on the series type:
- Area, column, line and pie
- 0 - value
- Candlestick and OHLC
- 0 - open value
- 1 - high value
- 2 - low value
- 3 - close value
- 4 - category name
series.tooltip.padding
Number|ObjectThe padding of the tooltip.
series.tooltip.template
String|FunctionThe tooltip template. Template variables:
- value - the point value (either a number or an object)
- category - the category name
- series - the data series
- dataItem - the original data item used to construct the point. Will be null if binding to array.
series.tooltip.visible
BooleanA value indicating if the tooltip should be displayed.
Default: false