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

[I] [Feature] Zooming across entire axis for both x and y axis [echarts]

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

   ### What problem does this feature solve?
   
   Currently when using the `toolbox.feature.dataZoom` you can either 
   
   1) zoom into a subregion 
   
   ```ts
       toolbox: {
         feature: {
           dataZoom: {
             filterMode: "none",
           },
         },
       },
   ```
   
   https://github.com/user-attachments/assets/1f1eaa80-2b80-4db1-8e53-67f030fee25c
   
   
   
   2) Across the entire x axis
   
   ```ts
       toolbox: {
         feature: {
           dataZoom: {
             yAxisIndex: "none", // <----------------- Y Axis None
             filterMode: "none",
           },
         },
       },
   ```
   
   https://github.com/user-attachments/assets/4653c0cf-53f6-4771-81ac-98ffbd9bfabd
   
   3) Across entire y axis
   
   ```ts
       toolbox: {
         feature: {
           dataZoom: {
             xAxisIndex: "none", // <----------------- X Axis None
             filterMode: "none",
           },
         },
       },
   ```
   
   https://github.com/user-attachments/assets/3e88ecaf-7cb5-4fd8-a0f4-13e9c6e67c5e
   
   
   I want to be able to have **both** 2 & 3 and not have 1 or have a dynamic approach to zooming much like how plotly works
   
   
   Uploading Screen Recording 2025-01-07 at 8.14.03 pm.mov…
   
   This feature is quite important especially for scientifc graphs, the zooming behaviours in ehcarts is not the best.
   
   
   
   
   ### What does the proposed API look like?
   
   I am not sure, I think allowing two instances of the dataZoom toolbox seems like the simpler fix, open to knowing if this feature already exists


-- 
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] Zooming across entire axis for both x and y axis [echarts]

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

   This feature would be a great addition.


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