BulletTooltip
12 Sep 20251 minute to read
BulletTooltip module is used to render the tooltip for bullet chart.
Methods
_displayTooltip
To display the bullet chart tooltip.
| Parameter | Type | Description |
|---|---|---|
| e | PointerEvent |
The pointer event. |
| targetClass | string |
The class name of the target element. |
| targetId | string |
The id of the target element. |
| mouseX | number |
The X-coordinate of the mouse. |
| mouseY | number |
The Y-coordinate of the mouse. |
Returns void
_elementTooltip
To create tooltip div element.
| Parameter | Type | Description |
|---|---|---|
| e | PointerEvent |
The pointer event. |
| targetClass | string |
The class name of the target element. |
| targetId | string |
The id of the target element. |
| mouseX | number |
The X-coordinate of the mouse. |
Returns void
updateTemplateFn
To update template values in the tooltip.
Returns void