Chart.js: Hide empty bars in grouped bar charts

Created on 1 May 2017  路  5Comments  路  Source: chartjs/Chart.js

I want to know if I can hide the empty bars from each group in a grouped bar chart.

Currently, in case there's an empty bar in a group, that space is shown empty. Can I reduce the spacing to be only as much as required by the remaining bars in that group?

graph

help wanted enhancement

Most helpful comment

It would be a very helpful feature !

All 5 comments

I don't think that's currently possible. @potatopeelings know's the most about grouped stacked bars though.

Hi, still not possible ?

image

It would be a very helpful feature !

Hi Team,
Can we remove empty bars in grouped bar charts.
Please help me for the same.

Ultimately the same issue as #2092, so closing in favour of that older issue

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adriantombu picture adriantombu  路  3Comments

JAIOMP picture JAIOMP  路  3Comments

HeinPauwelyn picture HeinPauwelyn  路  3Comments

joebirkin picture joebirkin  路  3Comments

akashrajkn picture akashrajkn  路  3Comments