hi Tristan_McCann,
           Thanks a lot for this simple but very effective solution.
Thanking you
regards
Sarthak

On Thu, Dec 3, 2009 at 1:10 AM, <[email protected]> wrote:

> sarthak <[email protected]> wrote on 12/02/2009 01:10:09 PM:
>
> > sarthak <[email protected]>
> > 12/02/2009 01:10 PM
> > Hi,
> >      I am having a 3d pie chart with a legend on right hand side. I
> > want to display  the percentage of each pie either on the pie or by
> > the side of the pie. Is it possible to do via google charts api? if
> > yes how ?
> >
> > Thanks in advance
> > regards
> > Sarthak
>
> In the documentation:
> http://code.google.com/apis/chart/labels.html#pie_labels
>
> Using the chl parameter, put the actual percentage values (with the %
> sign) instead of their examples with the shortened month names. So,
> instead of their url:
>
> http://chart.apis.google.com/chart?cht=p3&chs=220x100&chd=s:Hellob&chl=May|Jun|Jul|Aug|Sep|Oct<http://chart.apis.google.com/chart?cht=p3&chs=220x100&chd=s:Hellob&chl=May%7CJun%7CJul%7CAug%7CSep%7COct>
> , Yours could be:
>
> http://chart.apis.google.com/chart?cht=p3&chs=220x100&chd=s:Hellob&chl=20%|30%|10%|5%|1%|10%<http://chart.apis.google.com/chart?cht=p3&chs=220x100&chd=s:Hellob&chl=20%%7C30%%7C10%%7C5%%7C1%%7C10%>
>
> Be sure to put your percentage values in the right order. The do have to
> be computed by you beforehand. You may need to encode the percent symbols.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Chart API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-chart-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-chart-api?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en.


Reply via email to