apache / apache/echarts

Stacked Chart not responsive

Open
#20,516 1 comment 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

### Link to Minimal Reproduction

https://docs.google.com/document/d/1KZZIe_K3fWOdM9ZnTsDd1H4WrwhrNP6QyR22YpYcdvM/edit?usp=sharing

### Steps to Reproduce

1. put a lot of data in stacked line chart
2. define legends like below -
legend: {
data: ['Email', 'Union Ads', 'Video Ads', 'Direct', 'Search Engine', 'Search Engine1', 'Search Engine2', 'Search Engine3', 'Search Engine4', 'Search Engine5', 'Search Engine6'],
left: "55%",
right: "0%",
}
left should be more than 50 or maybe less as per the resolution.the

### Current Behavior

Legends are not responsive in horizontal alignment.
![image](https://github.com/user-attachments/assets/be1bd661-9f0e-4810-88be-ba4be49fa0cd)

### Expected Behavior

It should be responsive and should not overlap with graph.

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### 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.