Highcharts translation series 16th: tooltip
Tooltip
Parameters
Description
Default Value
Animation
Enable or disable a prompt animation. This is useful for charts with large data volumes.
True
BackgroundColor
Background color or gradient color
Rgba (255 255,255, 0.85)
BorderColor
Border color of the prompt
Auto
BorderRadius
Radius of the border rounded corner
5.0
BorderWidth
Border Width
2.0
Crosshairs
Display the cross lines to connect the points with their axis values. The cross line can be a Boolean, a Boolean array, or an object.
Null
Enabled
Prompt for enabling or disabling
True
FooterFormat
String appended to the prompt format
Null
Formatter
The callback function is used to format the text of the prompt.
Positioner
A callback function is used to place a prompt in the default position.
Null
Shadow
Whether to display the shadow of the prompt
True
Shared
When the prompt is shared, the entire drawing area captures the movement of the mouse. The prompt text for sorting data of all sequence types is displayed in a bubble (prompt box.
False
Snap
The sensor unit of a chart or a single point. Bar Chart, bar chart, and pie chart slices are not suitable. The default value is 10 for the mouse Power Supply Device and 25 for the touch device.
Null
Style
The CSS style of the prompt.
Style: {color: '#333333 ',
FontSize: '9pt ',
Padding: '5px '}
UseHTML
Whether to use HTML instead of SVG to render the prompt content
False
ValueDecimals
The number of decimal places displayed for the y value of each sequence
Save all decimals
ValuePrefix
Prefix appended to sequence y value
Null
ValueSuffix
Suffix appended to sequence y value
Null
XDateFormat
If the X axis is a timeline, it is displayed in the date format of the prompt header.
Approximate number based on the minimum distance of each vertex