cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Introduction
The Additional Data Chart Tooltip Plugin Allows the user to display several values on one column chart and while making it easy on the eye. The purpose is to display several related values in one chart in a simple and easy way.
Steps
The Additional Data Chart Tooltip Plugin can be used with Column chart widget only.
In order to add an Additional Data Chart Tooltip Plugin to  a chart, please follow the listed steps below:

STEP 1:

DOWNLOAD AND EXTRACT THE ENCLOSED FOLDER INTO THE PLUGINS FOLDER:

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:

CREATE A COLUMN CHART. IN THE VALUES ADD BOTH THE DATA YOU WANT TO DISPLAY IN THE COLUMNS AND THE DATA YOU WANT TO APPEAR AS ADDITIONAL DATA IN THE TOOLTIP.

GO TO THE WIDGET EDITOR AND EDIT THE WIDGET SCRIPT

 
Step 3:
In order to use Additional Info Chart Plugin copy the script below and change the range [2,3] according to the values you wish to display in the tooltip.
 
prism.additionalInfoTooltip (widget, {seriesIndexes:[2,3],displayCurrentSelection:true});

Code configuration:
The Series Indexes numbers start from 0. The first value location is  [0] , the second is [1] etc.
Put the location of the values you wish to display as additional info in the tooltip in the [] and separate them by comma. for example seriesIndexes:[2,3] will display the thirs and fourth values in the tooltip.
The default preferences is to display the values of the column value first and then the additional value. In order to hide current column from the tooltip just change the “displayCurrentSelection” value from true to false.
 
Press SAVE
Close the Script window
 
Step 4:
Refresh the Widget and click apply
The chart should appear with the columns chosen and tooltip configuration.
Rate this article:
Version history
Last update:
‎03-02-2023 09:15 AM
Updated by:
Contributors