Two thinks that I see wrong immediately 1. you have &chd parameter specified twice and you should only have one data parameter 2. your &chds scaling parameter is not correct and should consist of this format
&chds=min1,max1,min2,max2,min3,max3,min4,max4 since you have an lxy chart with 4 datasets correcting these two faults I come up with the following chart http://chart.apis.google.com/chart?chtt=testing+chart&chxt=x,ychxr=0,1,31,1|1,100,2000,100&chs=600x500&cht=lxy&chm=N*f0y*,00FF00,0,-1,11|N*f0y*,00FF00,1,-1,11&chds=0,30,1200,1300,0,30,100,200&chd=t:7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,1,2,3,4,5,6|1245,1245,1245,1245,1245,1245,1245,1260,1260,1260,1260,1260,1260,1260,1260,1260,1260,1275,1275,1275,1275,1275,1275,1275,1275,1275,1275,1275,1275,-1,-1|7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,1,2,3,4,5,6|161,162,162,169,167,172,173,157,161,164,168,166,172,170,174,173,177,155,158,158,162,162,162,166,170,171,171,174,175,-1,-1 I gues you can adjust the nin/max values to better suite what you expect to see. On Aug 7, 7:39 am, Minah <[email protected]> wrote: > Hi all, > I just started learning about this today. I am trying to build a line > chart containing 2 datasets. I could form the chart with small > datasets. But when i tried the following, I am not getting the out > put. > > <img alt="test" src="http://chart.apis.google.com/chart?chtt=testing > +chart&chxt=x,y&chxr=0,1,31,1| > 1,100,2000,100&chs=600x500&cht=lxy&chm=N*f0y*, > 00FF00,0,-1,11|N*f0y*,00FF00,1,-1,11&chd=t: > 100&chds=100,2000,100,2000&chd=t: > 7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,1,2,3,4,5,6| > 1245,1245,1245,1245,1245,1245,1245,1260,1260,1260,1260,1260,1260,1260,1260,1260,1260,1275,1275,1275,1275,1275,1275,1275,1275,1275,1275,1275,1275,-1,-1| > 7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,1,2,3,4,5,6| > 161,162,162,169,167,172,173,157,161,164,168,166,172,170,174,173,177,155,158,158,162,162,162,166,170,171,171,174,175,-1,-1"/ > > > > Please help me, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
