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

Closed
FarkasAndras93 opened this issue Aug 29, 2018 · 3 comments
Closed

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

FarkasAndras93 opened this issue Aug 29, 2018 · 3 comments
Assignees
Labels
bug en This issue is in English stale Inactive for a long time. Will be closed in 7 days.

Comments

@FarkasAndras93
Copy link

FarkasAndras93 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]

image

@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
…nhance page number on scrollable legend.
@Ovilia Ovilia added the en This issue is in English label Mar 1, 2019
@FarkasAndras93
Copy link
Author

FarkasAndras93 commented Oct 29, 2019

Just retested with 4.4.0 and the scrolling works now. The only problem is when I have a long text and the first part is shown. After the scroll, I will see the second legend item and not the second part of the long text.

@github-actions
Copy link

github-actions bot commented Oct 28, 2021

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Oct 28, 2021
@github-actions
Copy link

github-actions bot commented Nov 4, 2021

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

@github-actions github-actions bot closed this as completed Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug en This issue is in English stale Inactive for a long time. Will be closed in 7 days.
Projects
No open projects
Development

No branches or pull requests

3 participants