Chartjs-Graph made with chart js wont change size?

0👍

This issue you have here is that chartJS will ignore the width / height on the canvas element, so you need to wrap the canvas element in a div…..

<div style="width:400px;height:600px">
    <canvas id="myChart"></canvas>
</div>

Leave a comment