You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/05/22 12:58:56 UTC

[GitHub] [incubator-echarts] phazor opened a new issue #10523: DataZoom zooms out to show one day when a span of 0 is selected

phazor opened a new issue #10523: DataZoom zooms out to show one day when a span of 0 is selected
URL: https://github.com/apache/incubator-echarts/issues/10523
 
 
   ### Version
   4.2.1
   
   ### Reproduction link
   [https://jsfiddle.net/_phazor/zw4f86pe/9/](https://jsfiddle.net/_phazor/zw4f86pe/9/)
   
   ### Steps to reproduce
   1. Take a chart with the following properties:
    - dataZoom is enabled.
    - `filterMode` is set to `none`.
    - the zoom is set for an axis that has the property `type: time`.
    - you have data that spans a proportion of one day (e.g. 5 hours worth).
   
   2. Move the dataZoom sliders so that the selected range is 0.
   
   ### What is expected?
   Chart shows instantaneous point where the range is centered on.
   
   ### What is actually happening?
   Chart zooms out to show one day
   
   ---
   This functionality seems to behave as expected when:
    - `filterMode` is anything other than `none
    - axis `type` is anything other than `time`
   
   <!-- 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


With regards,
Apache Git Services

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