new Tooltip(params)
A marker representing a floating tooltip that displays select price data for the bar on which it is positioned.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
object | Tooltip parameters. These are passed to the CIQ.Marker constructor.
|
- Since:
-
2016-12-01
Methods
-
<static> render(params)
-
Updates the tooltip DOM with gathered content items. Client developers may override this function to fully customize the tooltip layout while still benefiting from the built-in content gathering logic.
Parameters:
Name Type Description paramsobject Properties
Name Type Description stxCIQ.ChartEngine The chart engine instance.
barnumber The bar index currently hovered.
dataobject The raw data segment entry for the bar.
contentArray Gathered content items produced by the internal
gatherTooltipContenthelper.nodeHTMLElement The tooltip
<table>element.- Since:
-
10.4.0
