[Chartjs]-How to set height of individual bars in Ant Design Stacked Bar?

4👍

You can use pass maxBarWidth prop to bar config like this:

config = {
    maxBarWidth: 30,
    ...

Or directly to the Bar component like this:

<Bar {...config} maxBarWidth={30} />

Leave a comment