Answers for "chart.js width height"

1

chartjs set height

<div class="chart-container" style="position: relative; height:40vh; width:80vw">
    <canvas id="chart"></canvas>
</div>
Posted by: Guest on August-29-2021
-2

chartJs height

var ctx = document.getElementById("myChart");
ctx.height = 500;
Posted by: Guest on November-22-2020

Browse Popular Code Answers by Language