Page 1 of 1

Problem with bar chart width?

Posted: Thu Dec 04, 2008 7:13 pm
by franklywatson
I installed the Eastwood charts and the sample page showed correctly on my local machine.

I then tried changing the bar chart width using chbh as per

code.google.com/apis/chart/types.html#bar_charts

and the change did not manifest in eastwood

with the following change of the very last query param

localhost:8080/chart?cht=bvs&chd=s:YUVmw1&chco=0000FF&chs=180x150&chtt=Site+visitors&chts=0000FF,20&chbh=10,4

example below shows what it should end up as

chart.apis.google.com/chart?cht=bvs&chd=s:YUVmw1&chco=0000FF&chs=180x150&chtt=Site+visitors&chts=0000FF,10&chbh=10,4

Cheers

J

... also doesnt appear that Data scaling param is working

Posted: Thu Dec 04, 2008 7:46 pm
by franklywatson
Comparing the output of

chart.apis.google.com/chart?cht=bhg&chd=t:1,2,3,4|2,3,4,5&chco=4d89f9,c6d9fd&chtt=Blah&chds=0,5,0,5&chs=200x125

vs

localhost:8080/chart?cht=bhg&chd=t:1,2,3,4|2,3,4,5&chco=4d89f9,c6d9fd&chtt=Blah&chds=0,5,0,5&chs=200x125

The data scaling dont appear to be working...

Though. it occurred to me just now that it might be because I am using the grails plugin... which might not be updated to the latest EastWood... will try updating with latest (if it isn't already) and run the above two again

... and it was..!

Posted: Thu Dec 04, 2008 7:57 pm
by franklywatson
updated the eastwood plugin version libs inside the grails plugin and bingo all is fine again

j

scaling works, but bar thickness bug still present

Posted: Thu Dec 04, 2008 8:05 pm
by franklywatson
The scaling now works, but the bar thickness problem reported at the very beginning of the thread is definately still present.

J