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:
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
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]

Share this page: