Fix pull request #205

This is a fix for pull request #205 which has already been merged.

Sorry to be a PITA, I changed some CSS around my charts and then it stopped working. Turns out I wasn't updating the width and height of the chart. I have no idea how it was working before. Sorry once again, I know you are busy.