Skip to content Skip to sidebar Skip to footer

How To Add Data Labels To A Google Chart

I've created a pie chart using the Google Chart API but am unable to control which data labels are added. I'd like to be able to add a label for each slice of the pie. Can anyone p

Solution 1:

Since there's not enough room in each slice, looks like the best you can do is add

legend: { position: 'labeled' }

to your options.

Example here.

Post a Comment for "How To Add Data Labels To A Google Chart"