You want to end up with a URL like this - note my numbers are not
based on your example so it may be a little off:

http://chart.apis.google.com/chart?chs=300x300&chd=t:1,1,1,2,7,2,2,2,3,5,4,7,2,1,1,1,1,1|0,1,32,52,55,56,84,114,115,145,175,204,205,235,266,297,327,328&chds=0,7,0,328&cht=lxy&chxt=x,y&chxr=0,0,10|1,0,328&chxl=1:|03/01/2008|04/01/2008|04/02/2008|04/03/2008|07/03/2008|08/03/2008|04/04/2008|03/05/2008|04/05/2008|04/06/2008|04/07/2008|03/08/2008|04/08/2008|04/09/2008|04/10/2008|04/11/2008|03/12/2008|04/12/2008

chs= chart size
chd= text encoded chart data as X and Y datasets (note: the Y data is
the number of days between your earliest date and the date for that
data value)
chds= data scaling with the min max for X and min max for Y
cht= chart type as lxy
chxt= specify what axis you want
chxr= specify the range of the axis
chxl= specify the labels

How you convert your dates into number of days like I have depends on
the language you're using - maybe JavaScript? Anyway, the idea is to
read in your raw data, save it away in array(s), convert the dates
into those kinds of numbers, and build your URL.

I put the date labels on the Y axis because it would be two scrunched
up if put on the X axis due to size limitiations.
--~--~---------~--~----~------------~-------~--~----~
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