Google pie chart-reg

27 views
Skip to first unread message

udaya yoga

unread,
Jul 5, 2020, 6:14:32 AM7/5/20
to Google Visualization API
Hi everyone

Can you help me for display the label and value in google pie chart PieSliceText option.

Advanced thanks

SJW

unread,
Jul 5, 2020, 9:49:44 PM7/5/20
to Google Visualization API
I dont think that is possible.

You can show the value and percentage, although it is undocumented - documentation only specifies one (1) option but as you can see here - you can specify value-and-percentage for two (2) but it only seems to work with value-and-percentage (not any other combination - all other combinations just default back to the default setting: percentage)

SJW

unread,
Jul 5, 2020, 9:51:21 PM7/5/20
to Google Visualization API
pieSliceText

The content of the text displayed on the slice. Can be one of the following:

  • 'percentage' - The percentage of the slice size out of the total.
  • 'value' - The quantitative value of the slice.
  • 'label' - The name of the slice.
  • 'none' - No text is displayed.
Type: string
Default: 'percentage'
Reply all
Reply to author
Forward
0 new messages