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
|
Array.<ToolTipItemDescription> |