Bar chart taking extra internal padding/space

Hello sir/ma’am,

I am working on mixed chart which consists of bar and scatter plot, I am trying to set the chart width as per the parent width by setting it to “100%”, but I can see that as per we increase the chart width, it keeps on adding extra left and right side internal padding/space. I tried setting out “pad” property to 0, but it’s not working.

note: I am building this chart in reactjs in my application

Request you to please help me.