wicketstuff/core — Issue #85: googlecharts- bar width not rendered properly
Author: armhold
Created: 2011-12-29 23:44:03+00:00
State: open

Line 228 of [Chart.java](https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/googlecharts-parent/googlecharts/src/main/java/org/wicketstuff/googlecharts/Chart.java) contains a bug that prevents bar width from being interpreted correctly.

Due to this bug the "chbh" param gets rendered as ",200" instead of "100, 200" when the barwidth/barspacing are set to 100/200 respectively.

I believe that something like the following was actually intended:

StringBuilder back = new StringBuilder("" + barWidth);

I actually tried to fork, fix and then pull-request this for you, but I was unable to test my change, as the wicketstuff/core library as a whole does not build for me due to compile errors.