YaTaUser commented on issue #21565:
URL: https://github.com/apache/echarts/issues/21565#issuecomment-4189520314

   Well, with a second filter mode I'm back to square one. Partial lines vanish 
entirely. In your demo as well, it's more obvious when changing coordinates of 
that green extra line to `[[60,5555],[89,6666]]`.
   
   ----
   An actual workaround is to draw longer lines in single steps and to put an 
interrupt on both ends of each segment and between each step. This way required 
interrupts no longer get filtered away. [Demo for 
this](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=nVQ9T8MwEN37K7x16dBAW2gQQ8XEXImBqoNpLbDk2FHiQgLqf-fZ-SC5WKiNpYtyz-_53dlOTGql0eyR_UwYKzaFzGP_ypgtUxGz6YFb8W6ycjrz6JFbHrMdm88YixA3iFvEoppuxhLQCnGHuEese9MR1BHUEdQR1FFPvcf72QHO69WYhFQkdS6Poq7Hl_ysj6KIUZOHEqlfuDqJbcp17LwqlBcBNLc8sx6P0UZlXAZ24dNRvKWvLBeZFODsPKditnvTttLgbvgFMInO5_tut3mZvBkFC5GktnyS2UE1vbnh7f5dbjl2PSfWJ6U68t1iAIVcwVqONcXN6GpdTougFFwkmlMJpeDe0fyCvojqqr5wy3uOyGmRlLIe5lRCKe7LGQBUREmhVt3nN7pXJw6cwAU7DNZqrCtOp6sNnOmAgh2neeBQupRQ0TiEcUW3ovovoqT-47WLaDNAt_Ib_FULfpivjVLbWmGzk6imznjuJ-eHXw&enc=deflate).
 It gets more complicated when zooming in both directions. Lots of code and 
still not perfect, because longer line still end at its last visible category 
instead of the view's edge, but it's close.
   
   ----
   Anyways, I opened this bug not to find help, but to make Echarts developers 
aware of the problem and to give them a simple use case. Here's a slightly 
enhanced use case, now including a demonstration of the unwanted zooming side 
effect:
   
   
https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=bVK5bsJAEO35iuloEOAESHCUImWKVDmKICRWeAgjrXeRvYCtiH_P8_qIbbA01sybN_fagxNr6Jl-B0TZSyZp6FUilx84pOFWOf6xST4ceTRSToW0oumIKIDcQe4hs9Jdf3NAC8gD5BGy7LgDRAeIDhAdIDroRK-hXwqgqPVtbdzrSEwqEVf9-JZfTcRZiJ48FIv5UvrI7wdlwqJWiarsBpo6lTiPhxjDQ5MJfZqtjWM2jtxeUnKWUmY673PaiXacUGwjrskbYw1vCDxjqVznmOhjzyRGnChNJ-FzzQbtpFKnc4pkt-MERcaVr8z9htQYskjqR8Qm8htnORU91wTMwYkwOCvPKZnNsZrdrqaj6fp_1TBp3gfMUes2NAOnbeOiHbu44xXQT4KnsGjby7bdKNVoWjC6hy74rweXpz8&enc=deflate
   
   Thanks for helping and an even bigger thank you, in advance, for fixing this 
issue.


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

Reply via email to