Problem with bar chart width?

A discussion forum for the Eastwood Chart Servlet.

Problem with bar chart width?

Postby franklywatson » Thu Dec 04, 2008 7:13 pm

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
franklywatson
 
Posts: 4
Joined: Thu Dec 04, 2008 7:06 pm

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

Postby franklywatson » Thu Dec 04, 2008 7:46 pm

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
franklywatson
 
Posts: 4
Joined: Thu Dec 04, 2008 7:06 pm

... and it was..!

Postby franklywatson » Thu Dec 04, 2008 7:57 pm

updated the eastwood plugin version libs inside the grails plugin and bingo all is fine again

j
franklywatson
 
Posts: 4
Joined: Thu Dec 04, 2008 7:06 pm

scaling works, but bar thickness bug still present

Postby franklywatson » Thu Dec 04, 2008 8:05 pm

The scaling now works, but the bar thickness problem reported at the very beginning of the thread is definately still present.

J
franklywatson
 
Posts: 4
Joined: Thu Dec 04, 2008 7:06 pm


Return to Eastwood Chart Servlet

Who is online

Users browsing this forum: No registered users and 2 guests