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/03 21:17:49 UTC
[GitHub] [incubator-echarts] Dus1988 opened a new issue #10389: DataZoom
Slider Does Not Respect Y Axis min if positive value
Dus1988 opened a new issue #10389: DataZoom Slider Does Not Respect Y Axis min if positive value
URL: https://github.com/apache/incubator-echarts/issues/10389
### Version
4.2.1
### Steps to reproduce
Create a 2 axis Cartesian chart
make x axis category, and y axis a value axis.
set y axis minimum to a positive value
set datazoom on y axis as a slider
Notice chart y axis adheres to y-axis minimum
### What is expected?
If y axis has a min and/or max set, the data zoom should adhere and have the same range as the chart's y axis
### What is actually happening?
chart's y axis listens to y axis min, but data zoom bottom(start) on y axis is always equal to 0 if yAxis.min is a positive number. If min is set to a negative number, datazoom will respect it.
---
this can be replicated on the demo linked below.
notice datazoom y axis bottom is equal to -30.
change y axis min to 10.
notice datazoom y axis bottom is equal to 0
https://ecomfe.github.io/echarts-examples/public/editor.html?c=line-draggable
<!-- 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