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 2020/06/17 15:07:19 UTC

[GitHub] [incubator-echarts] torueck opened a new issue #12819: dispatchAction dataZoom should also update the zoom stack used by the toolbox 'zoom reset'

torueck opened a new issue #12819:
URL: https://github.com/apache/incubator-echarts/issues/12819


   ### Version
   4.8.0
   
   ### Steps to reproduce
   1. Have a scatter chart with toolbox dataZoom for manual x,y zooming enabled.
   2. Do a manual zoom using the toolbox
   3. Do a programmatic zoom (e.g. by click on chart) by dispatch a zoom action like so:
   
   ```js
   chart.dispatchAction({
       type: "dataZoom",
       dataZoomIndex: 0,
       start: 25,
       end: 50,
   });
   ```
   
   ### What is expected?
   All zoom operations, whether triggered manually through the toolbox or programmatic by `dispatchAction()` should go to the same zoom stack. This is to have consistent behavior of the **zoom back** option of the toolbox. It should step back to all zooms, whether manually set or programmatic dispatched.
   
   ### What is actually happening?
   This works, however it does not put the zoom operation on the _zoom stack_ that is used by the toolbox **zoom back** item.
   This gives a nasty user experience when having both, manual zoom by toolbox and programmatic zoom mixed. 
   When then using the 'zoom back' option from the toolbox, it only recognizes the manual zooms.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


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

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] [incubator-echarts] echarts-bot[bot] commented on issue #12819: dispatchAction dataZoom should also update the zoom stack used by the toolbox 'zoom reset'

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12819:
URL: https://github.com/apache/incubator-echarts/issues/12819#issuecomment-645433112


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


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

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