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/03/24 16:26:28 UTC

[GitHub] [echarts] AsrithaPrasanna opened a new issue #16743: dataZoom does not work with Tree charts

AsrithaPrasanna opened a new issue #16743:
URL: https://github.com/apache/echarts/issues/16743


   ### Version
   
   5.3.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   I am trying to add zoom in and out for my tree chart. Below are the options that I tried: Though I see dataZoom buttons in the toolbox, clicking on them does not zoom in or out. I can however zoom in using mouse when I enable roam: true, but not via the buttons. I am looking for zooming in and out using buttons. Kindly let me know if this is a known issue.
   
   this.myChart.setOption(
               (option = {
                 tooltip: {
                   trigger: 'item',
                   triggerOn: 'mousemove'
                 },
                 toolbox: {
                   show : true,
                   feature : {
                     restore : {show: true},
                     dataZoom : {
                       show : true
                     }
                   }
                 },
                 series: [
                   {
                     type: 'tree',
                     data: [tree],
                     // roam: true,
                   } 
                 ]
               })
             );
   
   ### Current Behavior
   
   zoom does not work in dataZoom buttons in toolbox for tree.
   
   ### Expected Behavior
   
   When user clicks in zoom in, it should zoom in similar it to how it does when roam is set to true via mouse. I am looking for same feature using buttons.
   
   ### 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

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] jiawulin001 commented on issue #16743: dataZoom does not work with Tree charts

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


   According to the documentation, dataZoom only supports rectangular coordinate by now. Tree chart seems not to be supported by this tool.


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