cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
 
Introduction
The Additional Data Chart Tooltip Plugin allows users to display additional measures in a chart's tooltip without adding them as visible series, such as bars, lines, or columns. This allows users to include related metrics in tooltips for deeper insights while keeping the chart itself uncluttered.
 
Steps
The Additional Data Chart Tooltip Plugin can be used with Pie, Column, Bar, Line, Area, and Polar charts.
In order to add an Additional Data Chart Tooltip Plugin to  a chart, please follow the listed steps below:

STEP 1:

Install the plugin

Download and extract the enclosed folder into the plugins folder:

For Linux:
/opt/sisense/storage/plugins
For Windows:
C:\Program Files\Sisense\PrismWeb\plugins\AdditionalInfoTooltip,  if the "plugins" folder is not there, please create it. If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder. 

STEP 2:

Configure the widget

Open the widget (or create a new one).
For Pie charts:
In the Values panel, add the measure you want to display in the chart. In the Tooltip panel, add all the measures you want to include as additional information in the tooltip. Save the widget. This is the last step for Pie charts.
 
For other charts:
In the values add both the data you want to display in the chart and the data you want to include as additional information in the tooltip. If this is a new widget, save the widget first (so that Sisense can assign a widget ID), then open it again. Open the widget script editor.

STEP 3: Configure the widget script (only for non-Pie charts)

Script example:

prism.additionalInfoTooltip(widget, {seriesIndexes: [1,2] ,displayCurrentSelection:true });
 
In order to use the plugin, copy the script above and adjust the range [startIndex,endIndexstartIndex] to specify which measures should appear in the tooltip. These indexes correspond to the position of the measures in the widget's Values panel, starting from 0. For example, if your widget has three measures and you want to display only the first measure in the chart while showing the other two in the tooltip, set startIndex to 1 and endIndex to 2, i.e., [1,2].
 
By default, both the main and additional measures appear in the tooltip, with the main ones listed first, followed by the additional ones. To hide the main measures from the tooltip, set displayCurrentSelection to false.
 
Lastly, save the widget script, save the widget, and reload the page.

 

Examples:

Pie chart:

TriAnthony_0-1743524265745.png

Cartesian chart:

TriAnthony_1-1743524328436.png

 

Version history
Last update:
‎04-01-2025 09:20 AM
Updated by: