apache / apache/echarts

[Bug] Groups of bar get mixed when there is no enough space

Open
#20,547 0 comments 0 reactions 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.5.1

### Link to Minimal Reproduction

https://echarts.apache.org/examples/en/editor.html?c=dataset-simple0&code=MYewdgzgLgBGCuBbARgUwE4HkBmBlDAlqhDALwwBMADFQNwBQIADlAeGTAN70wwAmAQygCIqKAC4uPXjAgh46YKkkBtaTJgqA5AFkhwABYCYAGSFRUWgDQwAdPYCC6dAICetgUyYAbVwAoEb28bJxd_BBQMHHx0IggASnjbRE8_AA8yAD4YPSgDWxcwPhBEP0SAXSt1GW0dAm8AaxgAFVQBaztHZzcPL18A-CCQ7vCkNCw8QmJE5NSM0mzc_MLi0oqqjV5tAGEDVGJUGG2QUHabe1tQns8fUaGYK9HIiZi4mZSmdKycoWWBIpKZXilWqWy0AHUBN4ELAAELoEAAdzARA6F0evVuA3ujwGz2iUwSSQ-XwWPzyBX-qyB5WqtN4AF8NjA0g40gQIJJODAoK4mMoYFpgEJUABzEDoVxaGBM6SuNkcrmy3iiWLEVTVdEjTH9QLBB4jPHjAlqomzT7zbIwPzc3n8yRaZACdDShmJaS0hm0IA

### Steps to Reproduce

1. Add a lot of bars from different series and more than one x-axis category.
2. Reduce the window's width.

### Current Behavior

The groups get mixed.
![image](https://github.com/user-attachments/assets/fd225dc4-eaeb-4990-8aa7-06b9d06f3ad8)

### Expected Behavior

They shouldn't get mixed.
![image](https://github.com/user-attachments/assets/3859e0ff-7bf6-4817-8371-db9ffda7837c)

### Environment

_No response_

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.