JavaScript/jQuery Sankey - tooltip
Configures tooltips - small pop-up rectangles that display information about a data-visualizing widget element being pressed or hovered over with the mouse pointer.
color
This option supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
This option sets one color for all tooltips. You can specify a particular tooltip's color in the tooltip.customizeTooltip function.
container
Specifies the container in which to draw tooltips. The default container is the HTML DOM <body>
element.
customizeLinkTooltip
This function should return an object with the following fields:
color
Colors the current tooltip.text
Specifies the tooltip's text.html
Specifies the HTML markup the tooltip displays.NOTEIf you are going to use external resources in the markup (for example, images), specify the size of the area they occupy beforehand.fontColor
Colors the tooltip's text.borderColor
Colors the tooltip's border.
customizeNodeTooltip
This function should return an object with the following fields:
color
Colors the current tooltip.text
Specifies the tooltip's text.html
Specifies the HTML markup the tooltip displays.NOTEIf you are going to use external resources (for example, images) in the markup, specify the size of the area they occupy beforehand.fontColor
Colors the tooltip's text.borderColor
Colors the tooltip's border.
zIndex
If the widget's container has the CSS z-index property specified, and tooltips are displayed incorrectly, configure their z-index using this option.