vitalets commented on issue #20625:
URL: https://github.com/apache/echarts/issues/20625#issuecomment-3858702855

   I finally made it working with the current API. 
   The idea is to use the `selected` state for other items to blur them, while 
keeping the clicked item as `unselected`.
   
   1. set the `selectedMode` to `multiple`
   2. set the `select` style opacity to 0.3
   3. in the click handler mark all items as selected and then mark the current 
item as unselected
   
   [Demo 
code.](https://echarts.apache.org/examples/en/editor.html?c=pie-simple&code=nVNta9swEP6eX3ErDDsQ3JQkLKR0kLUp7MMorOyFjTIU-eyIyJaR5K6h5L9PlizZWRPoFoJl3z1399w9J1FpJkq4gucBgGaa48K-mg980guIPmOGEiWIDAh8w7ViGqORRah63YJuyRbhhmjSejhmjZliqVFGxrRv7FoIrlkVCkiW5ygNzqQsAopjjmXqQUIyk8RgHlFqRgk_rNAcIVKhAasF_LQIFw9QksL0FC0pRaXgVoqiTWEY7KrGVTHfEYAkKatNjmg2fhuMCjlSjeknkTb4om7a4F2Q999lmUJDa-wdqRmJ52M5wSPhtclxMZ7OR57aPRJJN7Aqc1Zi5Hr5C_9uMgvwGyZNteO42XwccKuCMH4cNp1PA-xL2SzAMlXHoZNxl_ErS1G00Bb54EOwqDZEMTM6P3iARtd7vet2qh3XhqTi9wdeG-0vwqw6jxvj994cO9-14KJZGZmvSWyYtf9kNmzWwP08t9CO0-cVzERFKNM7UzmZdLVDPns2z4fB_nJgzmJ3vSFSJ6KMI8oZ3UYjiJ_bRfxYpvg0sjtgX2E_hKv3bb3zcyiI3ALh3JJRQBSc-UU6sxifPUd9Z69pPExc6iQTckXoJo7VqF-tV6ALT5mqiKabJbU5un7b9XdFwzL7e-ToB2NoYwEqaT6SglRx_GsEzFZlQ4_dDy_doNrzoF9aS2kutO22Lo_3e4JwS9dH9W7fC7qBrDM4Ju5p_obLegdrQre5FHWZgpXumB6HDHt6_JBGiwPVsTd7lkH8BhNNpIEOXwjyn3q-QtHTQzqp678o22naU9lN9g8&enc=deflate)
   
   
https://github.com/user-attachments/assets/0a8ab021-506c-47fc-be28-21f0e6923b16
   
   


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