Closed matiassingers closed 10 years ago
This small changes allows for a definition of the canvas like so:
<canvas linechart options="options" data="chart" width="0" height="300"></canvas>
The canvas would then stretch to 100% of the parent element, but with the height specified to 300px.
300px
Would love some feedback on this solution.
This small changes allows for a definition of the canvas like so:
The canvas would then stretch to 100% of the parent element, but with the height specified to
300px
.Would love some feedback on this solution.