1.Under what circumstances is the echarts attribute barCategoryGap used?
2. How to fix the category width?
The first problem to be solved is the category width of the bar chart-category chart (note that it is not the column height, the column height is barWidth, I know it)
Generally, the category width is based on the box Adaptive, what I want to do is to make this value fixed,
The following is the official online demo that can be operated
http://echarts.baidu.com/gall...
How about filling the data array with some empty strings?
For example: I only have two sets of data, but I want the width of each category to occupy 1/6 of the total width
Then, data can be written as ['1231', '123', '', '', '', ' '].
In this case, the effect can also be achieved.