Change label "Other" of legend in Pie Chart

1,633 views
Skip to first unread message

Carlos G Sánchez

unread,
Aug 25, 2010, 11:45:33 AM8/25/10
to Google Visualization API
Hi. I'm using corechart package to generate a piechart. The problem is
that I have just five rows, but one of them has a value of 0.32 and
it's ignored and the API replace it with the label "other" in the
legend.

Is there a way to show the original label? or at least to change the
word other for its equivalent in spanish?

Regards

Carlos

Jinji

unread,
Aug 25, 2010, 1:34:36 PM8/25/10
to google-visua...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Carlos G Sánchez

unread,
Aug 26, 2010, 11:09:12 AM8/26/10
to Google Visualization API
Thanks. I had not noticed this directive. By the way, Is it possible
to customize the label "other" to another language?

On Aug 25, 12:34 pm, Jinji <jinji....@gmail.com> wrote:
> http://code.google.com/apis/visualization/documentation/gallery/piech...
>
> <http://code.google.com/apis/visualization/documentation/gallery/piech...>Look
> for sliceVisibilityThreshold (which you can set to zero)
>
> On Wed, Aug 25, 2010 at 6:45 PM, Carlos G Sánchez <carlos...@gmail.com>wrote:
>
>
>
> > Hi. I'm using corechart package to generate a piechart. The problem is
> > that I have just five rows, but one of them has a value of 0.32 and
> > it's ignored and the API replace it with the label "other" in the
> > legend.
>
> > Is there a way to show the original label? or at least to change the
> > word other for its equivalent in spanish?
>
> > Regards
>
> > Carlos
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Visualization API" group.
> > To post to this group, send email to
> > google-visua...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-visualizati...@googlegroups.com<google-visualization- api%2Bunsu...@googlegroups.com>
> > .

Jinji

unread,
Aug 29, 2010, 4:47:47 AM8/29/10
to google-visua...@googlegroups.com
Unfortunately no at this point, sorry.

To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.

Ronaldo Pereira

unread,
Jan 27, 2018, 8:53:38 AM1/27/18
to Google Visualization API
if ($('svg g g text:last').html() == "Other")
    $('svg g g text:last').html("Your Label");

KM

unread,
Nov 23, 2018, 7:40:34 AM11/23/18
to Google Visualization API
Save my day, thanks a lot .. selector still working nowadays ! :D
Reply all
Reply to author
Forward
0 new messages