Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

312
Views
Chart.js not responsive chart

Result

Have not responsive chart. Not think how i need to fix that. I want a chart on full-width block.

new Chart(progressAllRef, {             type: "line",             data: {               labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],                 datasets: [                     {                         data: {                           Jan: 1, Feb: 2, Mar:3, Apr:4, May:5, Jun:6, Jul:7, Aug:8, Sep:9, Oct:10, Nov:11, Dec:12                         },                         borderColor: "#66D9BD",                     },                 ],             },             options: {             responsive: true,             layout: {                 padding: 20             },               plugins: {                   legend: {                     display: false                   }                 },               borderColor: "white",               backgroundColor: "#6093c1",               scales: {                   xAxis: {                       grid: {                           display:false,                       },                       ticks: {                           color: "white",                       }                    },                   yAxis:{                       min: 0,                       max: 12,                       grid: {                           display:false,                       },                       ticks: {                           color: "white",                       }                    },                 }             }         });

Style:

 .progress-block-second-progressAll_chart{     

width: 95% !important;     

height: 65% !important;      

margin: 0% 2.5%;     

background-color: #6093c1;     border-color: white;   }

Img without height: 65% and without padding Without

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!