Issue 1976 in google-visualization-api-issues: Allow removing percentage when using Legend position "labeled", PieCharts

0 views
Skip to first unread message

google-visualiz...@googlecode.com

unread,
May 6, 2015, 9:07:26 AM5/6/15
to google-visualiz...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Enhancement Priority-Low

New issue 1976 by lgv...@lehigh.edu: Allow removing percentage when using
Legend position "labeled", PieCharts
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1976

What would you like to see us add to this API?

Please allow us to remove percentage when using Legend position "labeled".
As of now, you can choose to show either "Percentage" or "Value",
but "none" does nothing. Right now I can display the label, but percentage
is forced. Because of this, we cannot use this option

What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?

PieChart

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google-visualiz...@googlecode.com

unread,
May 6, 2015, 9:09:18 AM5/6/15
to google-visualiz...@googlegroups.com

Comment #1 on issue 1976 by lgv...@lehigh.edu: Allow removing percentage
This might actually be a bug, I'm not sure

google-visualiz...@googlecode.com

unread,
May 7, 2015, 4:19:50 AM5/7/15
to google-visualiz...@googlegroups.com

Comment #2 on issue 1976 by henrik.a...@gmail.com: Allow removing
percentage when using Legend position "labeled", PieCharts
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1976

Which percentage do you mean? The one on the legend, or on the pieslice?
http://jsfiddle.net/xz52ks2y/

google-visualiz...@googlecode.com

unread,
May 7, 2015, 9:30:37 AM5/7/15
to google-visualiz...@googlegroups.com

Comment #3 on issue 1976 by lgv...@lehigh.edu: Allow removing percentage
I mean on the legend. There's an option for legend that I don't believe is
documented anywhere called labeledValueText. When I put

labeledValueText: 'value', it shows the values instead of the percentage
labeledValueText: 'both', it shows both values and percentage, but
labeledValueText: 'none', displays percentage.

I want it to only show the label, and no value or percentage, but right
now, it seems it is forced to show. I'm using Google Charts to develop for
a mobile website, and everything works perfectly except this. Because of
the screen size restriction, the percentage and the labels are overlapping,
and no amount of resizing or moving around will fix it. We don't need the
percentage, but there's currently no way to remove that text from the
Labeled Legend

google-visualiz...@googlecode.com

unread,
May 7, 2015, 9:44:11 AM5/7/15
to google-visualiz...@googlegroups.com
Updates:
Status: Accepted

Comment #4 on issue 1976 by dlalibe...@google.com: Allow removing
percentage when using Legend position "labeled", PieCharts
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1976

'none' is not a supported value for this undocumented feature, so it
defaults to 'percentage'. We can probably add the 'none' option, however.

google-visualiz...@googlecode.com

unread,
May 7, 2015, 9:47:33 AM5/7/15
to google-visualiz...@googlegroups.com

Comment #5 on issue 1976 by lgv...@lehigh.edu: Allow removing percentage
Thank you! We appreciate this very much. It will make things much easier.
Reply all
Reply to author
Forward
0 new messages