javascript

Add label in the midlle of google pie chart donut  #angularjs #reactjs

  • I am using the google charts library to create donut charts.
  • I wanted to know if it was possible to add a label in the middle of my donut chart just as this: label in donut chart
  • Stack Overflow works best with JavaScript enabled
  • I checked in the google description of options and couldn’t find anything.
  • sign up log in tour help

I am using the google charts library to create donut charts. I wanted to know if it was possible to add a label in the middle of my donut chart just as this:


@ng_real_ninja: Add label in the midlle of google pie chart donut #angularjs #reactjs

I am using the google charts library to create donut charts. I wanted to know if it was possible to add a label in the middle of my donut chart just as this:

I checked in the google description of options and couldn’t find anything. here is how i generate my charts.

And my HTML to style my output:

javascript