Closed rfarouni closed 8 years ago
I am not sure if rounding is necessary here . We just need to have Highcharts format the output. A quick web search gave me this
tooltip: { formatter: function() { return '<b>'+ this.point.name +'</b>: '+ Math.round(this.percentage) +' %'; } }
I change it, but I couldn't figure out how to use this code.
I ended up using: hc_tooltip(valueDecimals = 2)
I am not sure if rounding is necessary here . We just need to have Highcharts format the output. A quick web search gave me this
tooltip: { formatter: function() { return '<b>'+ this.point.name +'</b>: '+ Math.round(this.percentage) +' %'; } }