Showing both legend and label on Pie Chart

490 views
Skip to first unread message

Vijay Makhija

unread,
Aug 29, 2016, 7:10:05 PM8/29/16
to Google Visualization API
I have a requirement to display both Labels as well as Legend for a Pie Chart. Labels connected by line should display % values, while legend should show actuals.
Is it possible to achieve this using Google Pie Chart? (I understand we can set 'legend': { 'position': 'labeled' } to show labels, but not sure how to show both).

Daniel LaLiberte

unread,
Aug 29, 2016, 10:46:12 PM8/29/16
to Google Visualization API
We don't have a way to show both now, sorry.  At best, you would have to overlay two charts, but I don't know if all the details would work as expected.

On Mon, Aug 29, 2016 at 7:10 PM, Vijay Makhija <er.vija...@gmail.com> wrote:
I have a requirement to display both Labels as well as Legend for a Pie Chart. Labels connected by line should display % values, while legend should show actuals.
Is it possible to achieve this using Google Pie Chart? (I understand we can set 'legend': { 'position': 'labeled' } to show labels, but not sure how to show both).

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/ab06d87b-5e92-48d9-b006-cd4b8f3106b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages