Thanks!  That worked!

In the process of trying to work around the problem before you posted
your work-around, I also discovered that there's an overflow problem
too:

I took the example code URL from the Google APIs page:

http://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World

and multiplied the data by 1000000000 to get:

http://chart.apis.google.com/chart?cht=p3&chd=t:60000000000,40000000000&chs=250x100&chl=Hello|World

which shows a pie chart with a 50-50 division instead of 60-40.

Easy to work around by scaling, but somebody at Google might want to
look at this too.

Thanks!

On Mar 16, 7:54 pm, Carl Shapiro <[email protected]> wrote:
> The workaround is to reduce the precision of the data points.
> I don't know where cut cutoff is, but if you leave 6 digits
> after the decimal point it will work.
>
> On 03/16/09 19:27:54, EventMan wrote:
>
>
>
> > I'm not sure when this started to happen, but a version of this chart
> > (I redacted the labels) was working fine a few days ago, but now
> > doesn't show a pie chart any more:
>
> >http://chart.apis.google.com/chart?chp=-1.57&chtt=Top%2024%20Tables%2...label|label|label|label|label|label|label|label|label|label|label|label|lab
> > el|label|label|label|label|label|label|label|label|label|label|label
>
> > The values in the data should add up to 1.0.
>
> > I tried to make a simplified case but I couldn't get it to fail:
> >http://chart.apis.google.com/chart?chs=250x100&chd=t:0.60,0.40&cht=p3...World
--~--~---------~--~----~------------~-------~--~----~
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