you have to do something like:

options.labels = 'name';
options.legend = 'none';

this is documented in the ImagePieChart options:

http://code.google.com/apis/visualization/documentation/gallery/imagepiechart.html#Configuration_Options

<http://code.google.com/apis/visualization/documentation/gallery/imagepiechart.html#Configuration_Options>but
it actually works for ImageChart as well.

2009/12/4 Rune V. Sjøen <[email protected]>

> Is there currently any way to make the ImageChart visualization print the
> labels on each slice of a static pie chart ?
> Using Google Charts API this is not a problem.
>
> Currently a visualization is rendered like this
>
>
> http://chart.apis.google.com/chart?cht=p&chd=s:Uf9a&chs=200x100&chdl=January|February|March|April<http://chart.apis.google.com/chart?cht=p&chd=s:Uf9a&chs=200x100&chdl=January%7CFebruary%7CMarch%7CApril>
>
> My goal is to make it render with 'chl' insted of 'chdl' for drawing the
> legend, resulting in this
>
>
> http://chart.apis.google.com/chart?cht=p&chd=s:Uf9a&chs=200x100&chl=January|February|March|April<http://chart.apis.google.com/chart?cht=p&chd=s:Uf9a&chs=200x100&chl=January%7CFebruary%7CMarch%7CApril>
>
> --
>
> Rune V. Sjoen
> You always pass failure on the way to success
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>

--

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


Reply via email to