0👍
I added width: 100%
in your CSS:
#container1 {
margin: 20px auto;
width: 100%;
height: auto;
position: relative;
}
Works for me
- Chartjs-Chartjs Exporting ImageExports Empty Dark Image
- Chartjs-Chart.js calculates the width of my time x-axis wrong
Source:stackexchange.com