API Reference
Namespaces
Modules
Classes
Events
Global
Externals

Class: Tooltip

CIQ.Marker. Tooltip (params)


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. params.label is set to "tooltip" by this 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
params object
Properties
Name Type Description
stx CIQ.ChartEngine

The chart engine instance.

bar number

The bar index currently hovered.

data object

The raw data segment entry for the bar.

content Array

Gathered content items produced by the internal gatherTooltipContent helper.

node HTMLElement

The tooltip <table> element.

Since:
  • 10.4.0