Added back the setCanvasSize function call to fix the recurring chart size bug.
Merge pull request #22 from shindostrz/master

Accidentally created a chart rendering bug on mobile so I fixed it.