How do I make a google larger by scale
Posted
by Hultner
on Stack Overflow
See other posts from Stack Overflow
or by Hultner
Published on 2010-04-18T15:39:32Z
Indexed on
2010/04/18
15:43 UTC
Read the original article
Hit count: 436
google-charts
I've just started using google charts and want to use it in a small project I'm workin on but I've bumped into a problem. The thing is I want the charts rather big at a static size and look good but I'm generating the charts dynamically with php. Now the problem is that I can't get it to scale properly in width but height is perfectly fine.
Here's an example chart I've generated:
Parameters:
cht=bvo&chs=400x400
chd=t:1,4,1
chxr=2,0,4,1
chds=0,4
chco=4d89f9
chxt=x,x,y,y
chxl=0:|3|7|26|1:|Correct+answers|3:|People
You see how the chart fills the 400px of height but not the width. I've searched and look through the api but I can't get it right.
© Stack Overflow or respective owner