Chartjs-How set auto width for charts.js

0👍

you can set options to responsive in your js code for responsive chart

 options: {
      responsive: true,
      maintainAspectRatio: false,
}

this should help you in this case

Leave a comment