Echarts - Gaps between stacked bar

213 views Asked by At

I'm trying to plot a stacked bar graph in echarts but facing a strange issue where there are gaps in between the stacked bars.

Something like the below image.

Stacked bar graph

I am attaching an echarts demo which contains all the options I have used.

Any help regarding this would be appreciated.

1

There are 1 answers

0
patrick cheung On

It seems to be a bug with echarts(version larger than 5.2.2).

I switched the version to 5.2.2, and there were no gaps between stacked bar.

Here's a demo.

If you do not need to use the newer features, you can consider using version 5.2.2 of echarts, or you can raise an issue on GitHub.