prevent overriding margin == zero
(cherry picked from commit 28c68dc)
example updated, tests for the chart added
refactoring, advanced tests
Merge pull request #3 from kashesandr/linePlusBar/canvas

Line plus bar/canvas