Skip to content

Can't make BarChart expanding to full width #3696

Answered by ckifer
AndreaBarghigiani asked this question in Q&A
Discussion options

You must be logged in to vote

Is this what you are looking for? https://codesandbox.io/p/sandbox/rechart-experiments-c5qrs2

Its because the default domain isn't the min and the max of your data so setting domain={['dataMin', 'dataMax']} will do it

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AndreaBarghigiani
Comment options

Answer selected by AndreaBarghigiani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants