subramanian_cv
06-29-2022Data Storage
Stacked bar charts - Values and proportions
Hi there!
How do I get rid of / % (ie - % of total) when we hover on the widget. While I already show the value in a absolute % representation whereas the % of total against a % value do not make sense in my use case.
I had this same question a couple of years ago
The user 'pathfinder' pointed me to the following widget script. I recently had a use for it again and it was still working for me:
widget.on("beforedatapointtooltip", function(w, args){ args.template = args.template.replace("/ {{item.percentage}}", ""); });