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

Echart:Legend scroll not working when item is to big #8971

FarkasAndras93 opened this issue Aug 29, 2018 · 0 comments


3 participants
Copy link

commented Aug 29, 2018

One-line summary

If legend item is to big and did not fit in the legend width then scrolling is not working. Below I give an example when I have a large string and legend width is 500. If I click on the scroll button did not happen anything.

Version & Environment

  • ECharts version [ECharts 4.0.4]:
  • Browser version [Chrome version 68]:
  • OS Version [everywhere]:

Expected behaviour

Scroll should work

ECharts option

legend: {
    type: 'scroll',
    width: 500,
    data: ['This is a very long legend item which is not fitting in the legend width just with scroll']

Other comments]


@FarkasAndras93 FarkasAndras93 changed the title Legend scroll not working when item is to big Echart:Legend scroll not working when item is to big Aug 29, 2018

@Ovilia Ovilia added the bug label Aug 30, 2018

@Ovilia Ovilia added this to Under Review in Issues for Beginners Sep 6, 2018

@Ovilia Ovilia moved this from Under Review to Bugs in Issues for Beginners Sep 6, 2018

100pah added a commit that referenced this issue Dec 4, 2018

Fix #6743 #8971 (page up/down when window narrower than item size). E…
…nhance page number on scrollable legend.

@Ovilia Ovilia added the en label Mar 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.