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 2019/11/29 13:53:35 UTC

[GitHub] [incubator-echarts] vially opened a new issue #11748: Incorrect dataZoom when endValue is set

vially opened a new issue #11748: Incorrect dataZoom when endValue is set
URL: https://github.com/apache/incubator-echarts/issues/11748
 
 
   ### Version
   4.5.0
   
   ### Reproduction link
   https://gallery.echartsjs.com/editor.html?c=xZxNgL-cQ&v=4
   
   ### Steps to reproduce
   Use `dataZoom.startValue` and `dataZoom.endValue` on a chart which has `xAxis.min` set.
   
   ### What is expected?
   The chart should only show data between `dataZoom.startVaue` and `dataZoom.endValue`.
   
   More precisely, I would expect to see something like this:
   
   ![echarts apache org_examples_en_editor html_c=datazoom-xaxis-min-bug (1)](https://user-images.githubusercontent.com/433598/69873057-9406a500-12b7-11ea-948a-9ce1e1031a2a.png)
   
   
   Sample code that works by removing `dataZoom.endValue`: https://gallery.echartsjs.com/editor.html?c=xZxNgL-cQ&v=5
   
   Sample code that also *kind of works* by removing `xAxis.min`: https://gallery.echartsjs.com/editor.html?c=xZxNgL-cQ&v=6
   
   ### What is actually happening?
   The `dataZoom.startValue` is not respected and the chart shows data before the `startValue`.
   
   The chart looks like this:
   
   ![echarts apache org_examples_en_editor html_c=datazoom-xaxis-min-bug](https://user-images.githubusercontent.com/433598/69872988-5b66cb80-12b7-11ea-9a82-105e52df5c52.png)
   
   https://gallery.echartsjs.com/editor.html?c=xZxNgL-cQ&v=4
   
   ---
   I would prefer to find a solution that **does not** involve removing neither `dataZoom.endValue` nor `xAxis.min` (because both of them are needed for their intended purposes).
   
   <!-- 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: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org