When the mouse moves to the series, highcharts displays all the numbers, as shown in this picture:
I want to make the float numbers all have 2 digits after dot point. I searched online, and came up sth like:
plotOptions: {
series: {
dataLabels: {
formatter: function() {
return '<b>' + this.point.name + '</b>: ' + this.percentage.toFixed(2) + ' %';
}
}
}
}
But it does not work.