score:1

Accepted answer

Try to use this code instead, where 2f is a number of decimals value:

Demo: https://jsfiddle.net/BlackLabel/ukc1tf3p/

legend: {
  labelFormat: '{name} {y:.2f}',
},

API: https://www.highcharts.com/docs/chart-concepts/labels-and-string-formatting#format-strings


Related Query

More Query from same tag