You likely need to specify chds values for max and min. check out: http://code.google.com/apis/chart/formats.html#data_scaling
specifically the part about chds. On Oct 29, 10:11 am, Adam Malcontenti-Wilson <[email protected]> wrote: > Hi. > I'm trying to plot a time-based graph with the Google Chart APIs but > it seems that by default the xy line graph assumes data is out of a > hundred, where a hundred is the maximum. How can i change that > behaviour so it automatically scales to the largest values I have on > my graph. > > For example so far I > have:http://chart.apis.google.com/chart?chs=500x500&cht=lxy&chd=t:0,1,2,3,4|7,1,2,6,8&chxr=0,0,4|1,1,8&chxt=x,y&chxs=0,000000,12,0,lt,000000|1,000000,12,0,lt,000000&chxl=0:|25/10/2009|26/10/2009|27/10/2009|28/10/2009|29/10/2009| > > This works, except the axies don't match up and the graph is miniscule > compared to the size. > > What is the proper way to plot graphs like these? > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
