Class

SpotfireTooltip

SpotfireTooltip(tooltipDescription)

Constructor

new SpotfireTooltip(tooltipDescription)

Represent the tooltip section

Parameters:
Name Type Description
tooltipDescription TooltipDescription

the description of the tooltip to be added

Methods

setFormat(format)

Set the format of the tooltip expected

Parameters:
Name Type Description
format string

the format expected (value or label).

setTooltipItems(tooltipItems)

Set all the tooltip items of the owner dataviz

Parameters:
Name Type Description
tooltipItems ToolTipItemDescription
[].visible boolean

set the visibility of the tooltip item

[].expression string

the expression to be used to display the tooltip item

[].size number

the size of the tooltip item

[].renderer RendererDescription

the renderer description to be used

type string

the type of renderer to be used

urlTemplate string

the url template for "Image from URL" renderer