Mathelab / ALTRE

ALTered Regulatory Elements
http://mathelab.github.io/ALTRE/
9 stars 8 forks source link

Rounding #19

Closed rfarouni closed 8 years ago

rfarouni commented 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) +' %'; } }

osubmi784323 commented 8 years ago

I change it, but I couldn't figure out how to use this code.

I ended up using: hc_tooltip(valueDecimals = 2)