helgasoft commented on issue #21744: URL: https://github.com/apache/echarts/issues/21744#issuecomment-5766678313
@tevinch, thank you for digging deeper into it. Here is what I understand about **6.1.0** : 1. SVG renderer ignores _hoverLayerThreshold_ and emphasizes line series correctly. 2. Canvas renderer needs _hoverLayerThreshold_ to be greater than the sum of all data points plus the sum of all "group" elements (_elCount_ in updateHoverLayerStatus) so that HoverLayer is **not** used. Then it emphasizes line series correctly. _elCount_ depends on chart content, it could be calculated after rendering is done - [Demo](https://echarts.apache.org/examples/en/editor.html?code=XVLLbtswELzrK7YnUZWrKnFyseMCRYo-gOYBNL3EMAraWlsEKFIgqdRO4H_vLhkFRi-2dndmOUPOxhof4P7ux-3Dn-u737cPsICLuq7n8PEjbFppdgjBwpRaJX847J1thg1midnIIImyXM0zjQHW0iOVpcG_8EUGFOf1-XQC9QTOioR4knpgyOU821oHgnuKajpRwdWpEmqUZQEvGaS15YJkwHs4G-VNaw_KBHS0k0Dj5vRfgriRoa2cNI3tRAEfoK4uC-JfzAmstiAS8Arq4o0bKXLt04wkQ3RY9YNvxZJlTOB26NboEqIK9qvaYyOmRbEi-DHLbB-UNbSLhQcVNM7gBQLuwwzypyonZUgX64KvntB5xh4nDLVWB9UTmAoqndrt0BFH7pXPGQHAn_c2eo5LDz0tz7UymMOREHGRxh2ahuax2n8mzgk4qI7BPDr8N4qOXmfs-tHabgbLt7kyXjUMWDHCo1NI9GVUlkQDGNkx9PtAublBMrEBwZZPE1ZCDj278MWrL7J7YmXssYZZ_B07_tCtrf6lngl7HnvsepUd51nWWMMvuJXa4zzrDtd8x5U1It8qo3yLTT4BysHiUxTLAWBKQZEOgzP81JzFZ0dLRvYOw6MTMQYp7j5YJ8nagnDVazEyUV_bwYSYZb6fNK2Ck_zOKLaD2cRoCNQp1knFO9SV8t-cHfqxDeOysuRVyebxTYfVWGm7oz0RFPspdlVr6bCf8oDuoXXoW6sbEjRKK-GMsaM9j-Eu0kRip7ynewxuIGd05j8&enc=deflate) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
