data size limit for extended encoding

154 views
Skip to first unread message

jwrgorman

unread,
Jul 7, 2008, 5:36:08 PM7/7/08
to Google Chart API
Hi,

I'm charting a bunch of line chart data with Google charts, and I seem
to have a limit to the amount of data I send up. It works well if you
sample your data every 20 datapoints, and send that subset up, but at
a certain point as you scale up the resolution, the chart disappears I
think because there's too much data. the chart I'm doing is here:

http://www.solarnetwork.net/dataPreview.php

and I have a php function which picks a data point every X actual data
points. with 9 line chart datasets (ech with 1440 datapoints) added to
the chart, I have to keep the the skip interval at 20. I'm planning
on adding 16 datasets to the chart in the next few weeks, and I think
the resolution at that point is going to be pretty poor.

is there any idea on when Google will up the charting capabilities?
Or, does anyone know of another charting app that looks this nice and
can do lots of data?

thanks, John


Ken

unread,
Jul 8, 2008, 1:49:22 PM7/8/08
to Google Chart API
You might want to have a look at the php function which selects data
points. The second graph has all data set to missing ("__"). That is
probably why this particular case is not drawing the graph.

burtonator

unread,
Jul 11, 2008, 1:40:15 AM7/11/08
to Google Chart API
yes... the chart data limitation is stupid.

PLEASE FIX IT GOOGLE!!!!! :)

Makes it REALLY had to build charts with complex overlapped data.

On Jul 7, 2:36 pm, jwrgorman <jwrgor...@gmail.com> wrote:

arena

unread,
Jul 13, 2008, 2:04:56 PM7/13/08
to Google Chart API
Hi!

Nice charts.

How do you get those different colors, apparently you don't allocate
them randomly.
Are the color code stored in the databse ?

if not thanks to tell how you do it.

Robbie

unread,
Jul 14, 2008, 12:26:13 PM7/14/08
to Google Chart API
I absolutely agree! (as I noted almost two months ago:
http://groups.google.com/group/google-chart-api/browse_thread/thread/30500332caf2873c/fef2512e27ff3c5a?lnk=gst&q=robbie#fef2512e27ff3c5a)

I'm having a hard time coming up with a sensible way to do data
trimming to accommodate the seemingly arbitrary limitation on the size
of the URL the Chart API accepts. It is going to take significant
code to come up with a bullet proof way to avoid "Bad Request"
errors. My app allows users to configure stat charts for various
sports and the data sets can get quite large:
http://statsheet.com/chart_list

Robbie

jwrgorman

unread,
Jul 24, 2008, 9:57:20 AM7/24/08
to Google Chart API
I'm using this php class:

http://www.malaiac.com/GphpChart/

and the syntax is:

$consumptionChart->add_data($lc1,"FF6600");

where the second argument is the hex RGB value...
Reply all
Reply to author
Forward
0 new messages