score:64

Accepted answer

You need to set the option maintainAspectRatio to false

....
new Chart(ctx).Line(data, {
    responsive:true,
    maintainAspectRatio: false
});

Fiddle - https://jsfiddle.net/3cxeyLc8/

score:1

Setting width and height 100% work for me

<LineChart :chart-data="chartData1" :options="options" style="width: 100%; height: 100%" />

score:15

Add the following CSS to #myChart:

 <canvas id="myChart" style="width:100%;height:100%;"></canvas>

Related Query

More Query from same tag