apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.69k stars 19.62k forks source link

Stacked Chart not responsive #20516

Open harsh972 opened 1 week ago

harsh972 commented 1 week ago

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

Expected Behavior

It should be responsive and should not overlap with graph.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

echarts-bot[bot] commented 1 week ago

I'm sorry to close this issue for it lacks the necessary title. Please provide a descriptive and as concise as possible title to describe your problems or requests and then the maintainers or I will reopen this issue.

Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.

A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.

Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.