You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/09/16 11:30:18 UTC

[GitHub] [echarts] amitknit09 opened a new issue, #17663: [Bug] toolbox.feature.dataZoom.yAxisIndex is not working as mentioned in API document

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

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   https://codesandbox.io/s/multiple-y-axes-forked-qrb7ll?file=/index.js
   
   ### Steps to Reproduce
   
   1. Create a chart with multiple Y-Axis(3 Y-Axis)
   2.  I want to use Data area zooming, so I have used "toolbox.feature.dataZoom" option
   3.  I want to control the zoom for only 1 Y-Axis. 
        toolbox: {
       feature: {
         dataZoom: {
           yAxisIndex: [1]
         }
       }
     }
   
   ### Current Behavior
   
   Zoom functionality stopped working and it only works if I am giving all 3 axis.
   
   ### Expected Behavior
   
   Defined yAxis should be controlled.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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


[GitHub] [echarts] amitknit09 commented on issue #17663: [Bug] toolbox.feature.dataZoom.yAxisIndex is not working as mentioned in API document

Posted by GitBox <gi...@apache.org>.
amitknit09 commented on issue #17663:
URL: https://github.com/apache/echarts/issues/17663#issuecomment-1249343578

   > 尝试下默认值 `none`?
   > 
   > ```js
   > yAxisIndex: "none"
   > ```
   
   Yes, this will work if I don't want to control specific axis. But here I want to control axis at a specific index.


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


[GitHub] [echarts] hihiro commented on issue #17663: [Bug] toolbox.feature.dataZoom.yAxisIndex is not working as mentioned in API document

Posted by GitBox <gi...@apache.org>.
hihiro commented on issue #17663:
URL: https://github.com/apache/echarts/issues/17663#issuecomment-1249264178

   尝试下默认值 `none`?
   ```js
   yAxisIndex: "none"
   ```


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