I would like to show label and percentage in Google pie chart. Is there any way to do it? In the docs, I found that it is possible to modify text with pieSliceText
option. Possible values are:
label
- show name of data (e. g. Apples
)
value
- show absolute value (e. g. 7
)
percentage
- show percentage value (e. g. 50%
)
value-and-percentage
- show both value and percentage (e. g. 7 (50%)
)
But is there something like label-and-percentage
to show something like that Apples (50%)
?