[Chartjs]-How to remove automatically applied background color to the body?

0👍

Changed

<div class="container"> -> <div class="container-fluid">

and the side spaces with white background are filled with the background color that I wrote.

I guess it was more on the Bootstrap side of the problem.
After changing the class to container-fluid, the chart stretched to fill the screen, so I added padding to the chart to have some spaces.

1👍

Add some CSS to your code and set the background color to transparent.

body{
   background-color: transparent;
}

Leave a comment