You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "neolord0 (via GitHub)" <gi...@apache.org> on 2025/04/24 02:26:07 UTC

[I] [Feature] Can I select data by dragging/dropping the chart area? [echarts]

neolord0 opened a new issue, #20935:
URL: https://github.com/apache/echarts/issues/20935

   ### What problem does this feature solve?
   
   Hi.
   First of all, thank you for distributing such a great chart component.
   echrats is so awesome.
   
   I have a question.
   Is there a function to select the corresponding data by selecting the chart area, axis area, legend item, etc. as shown in the figure below??
   ![Image](https://github.com/user-attachments/assets/4724a709-7bd8-4bc2-a770-559249ba9132)
   ![Image](https://github.com/user-attachments/assets/1fdb6fb6-fda3-4472-9de5-f703d8de8040)
   
   If so, how can I access it?
   If not, how can I add it?
   Please give me a hint. Thank you.
   
   ### What does the proposed API look like?
   
   ??


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Feature] Can I select data by dragging/dropping the chart area? [echarts]

Posted by "adaelixir (via GitHub)" <gi...@apache.org>.
adaelixir commented on issue #20935:
URL: https://github.com/apache/echarts/issues/20935#issuecomment-2826227304

   i think you can check this demo https://echarts.apache.org/examples/zh/editor.html?c=bar-brush&edit=1&reset=1
   as for API, you can try`brushSelected` https://echarts.apache.org/zh/api.html#events.brushselected
   
   <img width="1608" alt="Image" src="https://github.com/user-attachments/assets/ddbd7103-0e56-4c8d-9bdf-706efe080975" />


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org