Closed leeoniya closed 3 years ago
Sorry, I forgot about this PR. Thanks for finishing it!
no problem, is there any way to disable series focusing when the cursor moves?
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
}]
yeah, that helps for sure, though it still looks like it changes colors when the tooltip is active, which also looks like flickering.
Turning off the color highlight seems can be an enhancement in the next version.
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