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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
