remove chartWidth/chartHeight attrs
add max-width/height properties
Merge pull request #1 from thelmanews/compute-width-height

Compute width height