Removing information from the tooltip of a bar chart

Comments

3 comments

  • Avatar
    path finder

    Hi,

    please use this script to remove 100%

    widget.on("beforedatapointtooltip", function(w, args){
     args.template = args.template.replace("/ {{item.percentage}}""");
    });
    Thanks
    0
    Comment actions Permalink
  • Avatar
    Iris Maessen

    That works great. Thank you!

    Iris

    0
    Comment actions Permalink
  • Avatar
    Jessica Orlando

    This is great! I am curious if this could also work for a Pie Chart.

    I have a user who wanted to see the % of total listed under the category label in a pie chart. I was able to accomplish this by using the Contribution formula. However, now the % is listed twice because it is considered my value and Sisense is still showing the % of total.

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.