When setting the Y-axis's value range to encompass a minimum value of 0 and a maximum value of 7900, the axis label displays as if the range is from 0 to 7000. I discovered this by telling the chart to have grid lines which were separated by a value of 1000 (i.e. 100 * 1000 / 7900). To confirm my suspicions, I took the 1000 * ceil(7900 / 1000) which appropriately set the maximum value to 8000, which displayed correctly.
I'm not sure if similar graphs of other types are affected, as the values I was using for other chart types were sufficiently close to the automatic increment values provided by the axis. Example: http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:10,50,60,80,40|50,60,100,40,20&chco=4d89f9,c6d9fd&chbh=a&chds=0,199&chxt=y&chxr=0,0,199&chg=20,25 http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:10,50,60,80,40|50,60,100,40,20&chco=4d89f9,c6d9fd&chbh=a&chds=0,200&chxt=y&chxr=0,0,200&chg=20,25 It appears to be related to chbh=a. Using a value other than a or not providing the parameter appears to not trigger the issue. Example: http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:10,50,60,80,40|50,60,100,40,20&chco=4d89f9,c6d9fd&chds=0,199&chxt=y&chxr=0,0,199&chg=20,25 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
