StackGuides StackGuides
  • Lastest
  • Hot
  • Week
  • Month
  • Bounties
  • Questions
    Newest Active Bounties Unanswered Frequent Votes

Problem in google chart api for line graph

0
votes

http://chart.apis.google.com/chart?cht=lc&chd=t:131,123,126,124,122,121&chbh=a&chs=250x200&chxt=x,y&chxl=0:|28/03|27/03|26/03|25/03|24/03|23/03|1:|0|100|200

I am using the above URL but it doesn't give proper output. What's wrong?

1
google-visualization
Balvant Balvant

1 Answers

0
votes

Use chds parameter for specifying the scale. I added chds=0,200

http://chart.apis.google.com/chart?cht=lc&chd=t:131,123,126,124,122,121&chbh=a&chs=250x200&chxt=x,y&chxl=0:|28/03|27/03|26/03|25/03|24/03|23/03|1:|0|100|200&chds=0,200

smirnoffs smirnoffs

Related

1 Google Charts axis start

1 serializing data with google charts api

1 google charts api : wrong axis with LXY chart?

8 Google Charts API Smooth Line Chart

0 google world map chart

0 Range for vertical bar chart with google chart-wrapper

0 Google charts - Y axis value and actual value doesnt match

1 How to highlight several countries using Google Chart API by country code?

stackguides.com 2021, licensed under cc by-sa 3.0 with attribution required.

Privacy Policy | Cookies Policy | Contact

Page loaded in 0.039601 seconds

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more