Replies: 2 comments
-
I have the same problem, did you find the solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It isn't possible to do both at the same time, as the chart is designed to be responsive. Having fixed widths and gaps would make the chart a fixed width, and I just don't think it's designed this way. The best you can do is set the preferred gap between bars and then use the parent container to set the width of the entire chart so it gives the desired effect. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to set both the bar thickness and the amount of space between the bars in a bar chart? I want to have specific values that do not change. For instance, I would like the bars that are 30px thick and spaced 10px apart. The
categoryPercentage
andbarPercentage
both seem to get canceled out after I set a specificbarThickness
in pixels, and there is no option to set the spacing explicitly.Beta Was this translation helpful? Give feedback.
All reactions