YuqiaoS commented on issue #21346: URL: https://github.com/apache/echarts/issues/21346#issuecomment-3547623748
> Sorry, the "Keep Selections" action is documented and called [takeGlobalCursor](https://echarts.apache.org/en/api.html#action.brush.takeGlobalCursor). Here is how to use it - [Demo](https://echarts.apache.org/examples/en/editor.html?code=nVVfb5swEH_Pp7j1BSIhFwhJKFEqtX2YpmnqQ_uWRQp_nATFsREYLSzKd9_ZQAusW9UiJeDz3e_-_M5nkclUcFjCeQQgU8loAGdJTzIAY_Od0gyeKKOxUio2ELKchkkFBZXwk0PM0vgAm3txarQ2wMUv42Ih1unulBaIpRdVdxHlZbHHBX6iSyFYJE4BrIwcAQwLjAN6Ve-Y0TA31sqkMfohEgzPOJZMphmjRmfrSVY69EjkCc0fBBN5gIhJHQxAyu8btyIL41RWATgXS-3gc30NUbkLoNmCOORcSIioTlQKcDSGKOXj9i8Ym_gX3NZ-GN1RngR1ngXNU4pZr7RxnS4mXGUqhyIOpaQ55snDIw0Mp8DcG5WiOkaCPaW_UdG1W2kSyrAFU8_KsYltgU9sr6mRluJ6bsGM3Ey7UmeidOdk6nelN8SeKgTf6ek6Ne5k0pN6NcJsNsD1lLcBgo5s9iaCT276CC7BGBDB7UfmoHRO3HUje9lMJT22ZLccOIqAmshC9yFNdKsMO-VVITi_4pzjTrc07dK83iHN5cmHSXNUuiqxTrZIzsQCj7j9ernEVap-T-oSG6Ue8eY9Xc3kZFBxLDhKvUHFZ9obhtDrG_SmOXOH7GjO_J7unNi-BdMBZ1Md2ZTM_I-Qpv7Xo8tiJHcMx5DMS7oYHauHfZhLIrh5pY93S-uVBVkGy1vNTLoFE63GkFNZ5nzRiLKMRKGM9yt7TVo7wijfyT3cgjNuWH1LTX0ryr7 xhJ5IyYt9upWmOpxLY6zw_2HmvGmG2tghL5b1qCV6yBI1YpdNdd6PJBYcW8-E_xl0Y9AeVWUpK2ht9XnvqNfygePwUeOYNRz6ueAPxc_pkeJ8NLcl15cFmHWdW8skLTLl5U7vms3wr4-VDA_0KxNRyB7KvBB4vvTugeJ0NTT93UlfB9DeH43wuUaqr47uxvDKeOk5FTdGoJvuC74wEwsc2x4v_gA&enc=deflate). 📌 please close issue if problem solved. Thanks for the solution. I tried this before without the setTimeout and it did not work. I'd consider it resolved if the following are optimized? 1. The `brushMode: multiple option `should have the "keep selection" selected as default without the dispatch action. Otherwise the option should be considered defective or obsolete. 2. What is the reason for the `setTimeout `on `dispatchAction`? Is it because it needs to wait for the canvas rendering to finish (at the start)? -- 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]
