API Reference
Namespaces
Modules
Classes
Events
Global
Externals

Class: LabelTooltip

CIQ. LabelTooltip (params)


new LabelTooltip(params)

Add-on that displays the complete text of truncated labels on hover.

Initialization uses stx.container as the DOM root. All chart UI listeners and searches are scoped to stx.container.

Parameters:
Name Type Description
params object

Constructor parameters.

Properties
Name Type Argument Default Description
stx CIQ.ChartEngine

Chart engine instance.

context CIQ.UI.Context <optional>

UI context.

labelSelector string <optional>
"span[label]"

Selector for the hoverable legend text.

Since:
  • 10.6.0

Examples

Initialize directly:

new CIQ.LabelTooltip({
	stx: stxx,
	context: stxx.uiContext
});

Configure as an add-on:

config.addOns.LabelTooltip = {};