1 Answers

1
votes

chxr is used to set the axis range

as noted in the docs, the parameter uses the following syntax...

chxr = <axis_index>,<start_val>,<end_val>,<opt_step>

where...

<axis_index> = 0 for x-axis

<axis_index> = 1 for y-axis

as such, the parameter is defined incorrectly...

where you have --> chxr=0,10,200

change to --> chxr=1,10,200

see following link...

http://chart.apis.google.com/chart?cht=lc&chs=500x250&chco=FF0000,00FFFF,00FF00&chxr=1,10,200&chxt=x,y&chxl=0:|01/01/2017|02/01/2017|03/01/2017&chdl=first+legend%7Csecond+legend%7Cthird+legend&chtt=My+Google+Chart&chts=000000,24&chd=t:5,10,50|50,65,120|26,65,42


note: This API has been deprecated. See the deprecation policy for details.