Changing Pie Charts to Show Number instead of Percent

32,354 views
Skip to first unread message

Andy Wessendorf

unread,
Sep 19, 2012, 4:01:43 AM9/19/12
to google-visua...@googlegroups.com
I want to be able to show the number field of my pie chart rather than the percentage this number represents. I have tried looking into formatters (that worked for my gauges to add a suffix) to no avail. Maybe I am missing something?


Example:
Table: Red (5), Blue (4), Green (3)

Shows - Percentage of the sum Red (42%), Blue (33%), Green (25%)
Want to show - The actual number Red (5), Blue (4), Green (3) in the pie slice.

Any help appreciated. I have been struggling with this for hours.

asgallant

unread,
Sep 19, 2012, 10:56:42 AM9/19/12
to google-visua...@googlegroups.com
Set the "pieSliceText" option to "value".

Andy Wessendorf

unread,
Sep 20, 2012, 3:27:55 AM9/20/12
to google-visua...@googlegroups.com
Thank you for your replies, sirs. It worked. I don't know how I missed that. Thanks!

-Andy

On Wednesday, September 19, 2012 11:20:11 AM UTC-5, Felipe Paez Navarrete wrote:
hello,
documentation in the chart, in customization options is "pieSliceText" where you can put that data show.

asgallant

unread,
Sep 20, 2012, 10:02:15 AM9/20/12
to google-visua...@googlegroups.com
You're welcome.

Helen Adamson

unread,
Mar 25, 2018, 12:15:08 PM3/25/18
to Google Visualization API
I have the same problem and been trying to find "pieSliceText" and "value" option for such a long time. Where are they located in the document?

Vero Beach Marketing

unread,
Jul 18, 2018, 4:49:13 PM7/18/18
to Google Visualization API
I have the same issue I can't find pieslicetext?
Message has been deleted

Rafiq

unread,
Aug 9, 2018, 7:03:24 AM8/9/18
to Google Visualization API
Thank you so much asgallant.

Mars

unread,
Apr 10, 2019, 7:10:05 PM4/10/19
to Google Visualization API
Customize  ->  Pie Chart  ->  Slide Label  -->  Value
Reply all
Reply to author
Forward
0 new messages