another axis bug/issue/problem, but with vertical bar graphs

1 view
Skip to first unread message

dyerware

unread,
Jan 17, 2010, 11:02:11 AM1/17/10
to Google Chart API
Hi again,

One more problem I'd love some help with. If I specify a bar graph as
follows:

http://chart.apis.google.com/chart?cht=bvg&chbh=r,0.2,1.0&chs=600x500&chma=10,10,10,40&chf=c,lg,90,FFFFFF,0.2,DDDDDD,0|bg,s,00000000&chtt=SYSMark%202007:%20AMD%20v.s.%20Intel&chdl=AMD%20Phenom%20X4%209950|Intel%20Core%20i7%20940&chdlp=b&chco=005599,229944&chd=e:mygnzYlDkk,4kx5..315U&chxt=y,x&chxr=0,0,259,10&chxl=1:|Overall|E-Learning|Video%20Creation|Productivity|3D|&chm=r,A0BAE9,0,0.39,0.58

It is correct. The left axis suggests the largest value is > 250 (its
259). BUT if I leave out the interval of 10 on the left axis (chxr)
and let Google Chart calculate this itself, I get a bizarre reaction:

http://chart.apis.google.com/chart?cht=bvg&chbh=r,0.2,1.0&chs=600x500&chma=10,10,10,40&chf=c,lg,90,FFFFFF,0.2,DDDDDD,0|bg,s,00000000&chtt=SYSMark%202007:%20AMD%20v.s.%20Intel&chdl=AMD%20Phenom%20X4%209950|Intel%20Core%20i7%20940&chdlp=b&chco=005599,229944&chd=e:mygnzYlDkk,4kx5..315U&chxt=y,x&chxr=0,0,259&chxl=1:|Overall|E-Learning|Video%20Creation|Productivity|3D|&chm=r,A0BAE9,0,0.39,0.58

Now, the left axis tops out at 240! This suggest the largest value is
not 259, but 240. I really want google to handle the axis intervals
itself, but the results are so wrong I can't use it.

Is there something in my URL that is causing this or is it a bug on
google's side?

Thanks!

Reply all
Reply to author
Forward
0 new messages