2๐
canvas{
border:1px solid red;
}
.row{
display: flex
}
<div style="width:30%;" class="row">
<div class="my-4 col"><canvas id="costChart"></canvas></div>
<div class="my-4 col"><canvas id="usersChart"></canvas></div>
</div>
- Chartjs-Chart.js 2.1.6 background color for each section
- Chartjs-How to remove a label in top of bar in chartjs chart
Source:stackexchange.com