Hi Anish, You need to also use chds. Changing the axis range (chxr) doesn't change the scale of the data.
http://chart.apis.google.com/chart?chs=500x500&chds=0,45&chd=t:1.0,2.0,5.0,10.0,20.0,30.0,40.0|3.9,8.2,18.4,31.0,42.3,39.8,36.7|1.0,2.0,5.0,10.0,20.0,30.0,40.0|0.39,0.33,0.36,0.42,0.61,0.95,1.37&cht=lxy&chxt=x,y&chtt=UT+Through+Put+Various+Load&chxr=0,0,45.0|1,0,45.0&chm=N*f1*,000000,0,-1,11|N*f1*,000000,1,-1,11 On Apr 9, 1:42 am, Anish <[email protected]> wrote: > Hi All, > > I am using Line Chart. The type is lxy. I an using the below url > > http://chart.apis.google.com/chart?chs=500x500&chd=t:1.0,2.0,5.0,10.0...3.9,8.2,18.4,31.0,42.3,39.8,36.7|1.0,2.0,5.0,10.0,20.0,30.0,40.0|0.39,0.33, > 0.36,0.42,0.61,0.95,1.37&cht=lxy&chxt=x,y&chtt=UT+Through+Put+Various+Load& > chxr=0,0,100.0|1,0,100.0&chm=N*f1*,000000,0,-1,11|N*f1*,000000,1,-1,11 > > Here the data is ok. But i want to showing the x-axis range upto 45 > only and y-axis range also upto upto. So i used the below url > > http://chart.apis.google.com/chart?chs=500x500&chd=t:1.0,2.0,5.0,10.0...3.9,8.2,18.4,31.0,42.3,39.8,36.7|1.0,2.0,5.0,10.0,20.0,30.0,40.0|0.39,0.33, > 0.36,0.42,0.61,0.95,1.37&cht=lxy&chxt=x,y&chtt=UT+Through+Put+Various+Load& > chxr=0,0,45.0|1,0,45.0&chm=N*f1*,000000,0,-1,11|N*f1*,000000,1,-1,11 > > Here the image remains the same. But if you see the numberings the > numberings are not maching according the values displayed on y-axis > and x-axis. What i mean to say is that the number displayed on chart > say 36.7 is not at the exact point what should be on y-axis. I hope i > am clear. > > Also there is one more graph the values are very small below 2. How > can i set the values so that both the line charts are displayed > properly and visible in proper manner. > > Thanks in advance, > Anish --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
