79397824

Date: 2025-01-29 18:41:37
Score: 0.5
Natty:
Report link

You can edit how the value is displayed by giving it a format like this, where I give it and ending of "Hours" instead of ".0%"

    donut: {
    label: {
      format: function(value, ratio, id) {      return value +"Hours";       }
    }
  },

For more info on this, you can see how billboard does it here. https://naver.github.io/billboard.js/demo/#DonutChartOptions.MultilineLabel

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nice Question