Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Echarts 2 - Legends overalp chart on resize #4976

Closed
hsouto opened this issue Jan 19, 2017 · 1 comment
Closed

Echarts 2 - Legends overalp chart on resize #4976

hsouto opened this issue Jan 19, 2017 · 1 comment

Comments

@hsouto
Copy link

hsouto commented Jan 19, 2017

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: echarts2
  • Browser version [浏览器类型和版本]: Google Chrome Version 55.0.2883.87/ Firefox Version 50.1.0
  • OS Version [操作系统类型和版本]: -

Good Afternoon,
We are using echarts2 js to show a dashboard with multiple charts.
On our charts we are displaying the legend for the chart series docked on top left:

legend: { x: 'left', y: 'top', orient: 'vertical', data: dataArr },

Our expected behavior was that when the window was resized both legends and chart resized correctly.
When we resize the window, the legends will overlap the chart as seen below:
image

What can we do to prevent/solve this without having legends and charts on different containers?

@100pah
Copy link
Member

100pah commented Jan 21, 2017

"Responsive" is not supported in echarts2. I hope https://ecomfe.github.io/echarts-doc/public/en/tutorial.html#Responsive%20Mobile-End can help you, if echarts3 can be used in your application.

@pissang pissang closed this as completed Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants