thank you very much, That works, and got too many doubts :(. What
datasets exactly means. I need to show two graphs, which i provided as

chd=t:<x coords for set 1>|<y coords for set 1>|<x coords for set 2>|
<y coords for set 2>

dataset 1
x =
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
y =
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

dataset 2
x =
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
y =
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 suppose I am doing wrong, Please help though it may be a doubt
arised due to least understanding of the documentation (
http://code.google.com/apis/chart/types.html#line_charts ) ...

On Aug 8, 10:29 pm, mickaxl <mick...@netscape.net> wrote:
> 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,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 <han...@gmail.com> 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&amp;chxt=x,y&amp;chxr=0,1,31,1|
> > 1,100,2000,100&amp;chs=600x500&amp;cht=lxy&amp;chm=N*f0y*,
> > 00FF00,0,-1,11|N*f0y*,00FF00,1,-1,11&amp;chd=t:
> > 100&amp;chds=100,2000,100,2000&amp;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 google-chart-api@googlegroups.com
To unsubscribe from this group, send email to 
google-chart-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to