cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
The following solution is relevant to both Pi and column charts. Illustrations were supplied for Pi charts only for simplicity. 
If you'd like to remove the percentage value in the tooltip hover menu as illustrated below:
For Pie charts:
  • Edit widget
  • Edit script
  • Insert the following into the script body:
widget.on("beforedatapointtooltip", function(w, args){
 args.template = args.template.replace("/ {{model.percent}}%", "");
});
  • Save script.
  • Refresh dashboard (F5)
For column charts:
  • Edit widget
  • Edit script
  • Insert the following into the script body:
widget.on("beforedatapointtooltip", function(w, args){
 args.template = args.template.replace("/ {{item.percentage}}", "");
});
  • Save script.
  • Refresh dashboard (F5)
The dashboard before:
The dashboard after:
Rate this article:
Comments
TJT
7 - Data Storage
7 - Data Storage

Can we do same to hide just one item in a tool tip - specifically the color by field in the scatter map.

Version history
Last update:
‎03-02-2023 09:19 AM
Updated by:
Contributors