Google Charts displaying of data labels and percentage

44 views
Skip to first unread message

Chris Jones

unread,
Sep 10, 2015, 2:45:21 PM9/10/15
to Google Visualization API
Is there a way with Google Charts to have the data label value as well as the percentage displayed?

I have conducted a survey using Google docs and want to present the data in graphical form that displays both the percentage and also the number value.

I seem to be able to achieve one or the other but not both.

Appreciate any guidance - thanks.

Chris

Daniel LaLiberte

unread,
Sep 10, 2015, 4:23:02 PM9/10/15
to Google Visualization API
Chris,

We don't have an option yet for controlling the format of the percentage values in pie charts, if that is what you are using, though we are planning to add some options in the near future.  There are some options for formatting tooltips in other charts.  Can you give us more details of your charts?

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/db58e576-cab1-438a-bb51-14daf4516890%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Chris SWIS

unread,
Sep 10, 2015, 10:06:47 PM9/10/15
to google-visua...@googlegroups.com
Hi Daniel

Many thanks for getting back to me. I attach a copy of one column of the data that I wish to display as a chart showing both the % and the number.

Regards  Chris

Q 3. Do you have intentions of increasing or decreasing staff within the next 6-12 months?
intend to decrease staff
Intend to increase staff
Intend to increase staff
intend to decrease staff
No intentions either way
No intentions either way
intend to decrease staff
No intentions either way
Intend to increase staff
Intend to increase staff
No intentions either way
Intend to increase staff
No intentions either way
Intend to increase staff
intend to decrease staff
No intentions either way
No intentions either way
Intend to increase staff
No intentions either way
No intentions either way
No intentions either way
No intentions either way
No intentions either way
No intentions either way
Intend to increase staff



You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/4ML6AsRsI38/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.

Daniel LaLiberte

unread,
Sep 11, 2015, 9:11:10 AM9/11/15
to Google Visualization API
Thanks for the details on your chart.  

As I said, the PieChart doesn't support anything more than the pieSliceText option which only lets you choose to display the percentage, value, label, or none.  We are thinking of supporting some kind of templating system to give you much more control over the generated text.


For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages