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

update Echarts to 5.0 #317

Closed
leeoniya opened this issue Sep 28, 2020 · 5 comments
Closed

update Echarts to 5.0 #317

leeoniya opened this issue Sep 28, 2020 · 5 comments
Labels

Comments

@leeoniya
Copy link
Owner

it's recently received some pretty drastic perf optimizations:

https://github.com/apache/incubator-echarts/pulls?q=is%3Apr+is%3Aclosed+%5BPerformance%5D+in%3Atitle

cc @pissang when you have a PR ready

@pissang
Copy link

pissang commented Nov 12, 2020

Sorry, I forgot about this PR. Thanks for finishing it!

@leeoniya
Copy link
Owner Author

no problem, is there any way to disable series focusing when the cursor moves?

@pissang
Copy link

pissang commented Nov 12, 2020

Do you mean the line will flicker when the cursor moves? I think it's because the highlighted series has a consistent issue because of LTTB sampling. The only way now to fix it now is to fix the z-order of each line series, so the highlighted line won't be brought to the front.

series: [{
  name: 'CPU',
  z: 0
}, {
  name: 'RAM',
  z: 1
}, {
  name: 'TCP Out',
  z: 2
}]

@leeoniya
Copy link
Owner Author

yeah, that helps for sure, though it still looks like it changes colors when the tooltip is active, which also looks like flickering.

@pissang
Copy link

pissang commented Nov 12, 2020

Turning off the color highlight seems can be an enhancement in the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants