4 messages in com.googlegroups.google-chart-apiRe: Unknown chart limitation producin...| From | Sent On | Attachments |
|---|---|---|
| Tom Harrington | 16 Jan 2008 12:50 | |
| Uwe Maurer | 17 Jan 2008 08:58 | |
| Leif902 | 17 Jan 2008 10:19 | |
| Tom Harrington | 17 Jan 2008 11:24 |
| Subject: | Re: Unknown chart limitation producing blank charts![]() |
|---|---|
| From: | Uwe Maurer (uwe....@google.com) |
| Date: | 01/17/2008 08:58:01 AM |
| List: | com.googlegroups.google-chart-api |
Hi Tom,
this is a bug, I will fix it.
Thanks for finding out about this!
Uwe
On Jan 16, 9:50 pm, "Tom Harrington" <atom...@gmail.com> wrote:
After some more experimentation it seems that URL length is not the source of my trouble. However I'm not sure what the problem is, exactly, and can't find anything in the documentation that helps explain it.
I've got two URLs that are identical except for the number of data points. The shorter one produces a simple chart, and the longer one produces a plain white PNG with no data on it-- even though it gives an HTTP 200 response instead of the "malformed or illegal request" error.
Both are using chart type "lc" with four data sets and text encoding. In the shorter one (the one that works) each data set has 45 values, and in the longer one (the one that doesn't work) each set has 50 values. I don't see anything in the documentation that suggests the longer one is over some limit. Did I miss something?
Looking through this group's archives, I see that this has come up before and that URL length has been suggested as the problem. However in this case the longer URL is only 610 characters long, and in other cases I've used longer URLs without trouble.
The URL that works normally is:
http://chart.apis.google.com/chart?chs=500x300&cht=lc&chd=t:1,2,3,4,5...10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50|20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60|30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70
The URL that produces the blank chart is:
http://chart.apis.google.com/chart?chs=500x300&cht=lc&chd=t:1,2,3,4,5...10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50,10,20,30,40,50|20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60,20,30,40,50,60|30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70,30,40,50,60,70
-- Tom Harrington atom...@gmail.com




