We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当y轴为默认的value类型时,y轴的dataZoom会导致部分临界数据点(例如接近dataZoom自动设置的最大值的数据点)被过滤的问题。
临界数据点仍然能正确显示。
dataZoom一端自动计算出的限值过于接近临界数据点,可能引起浮点精度问题。
option = { "title": { "text": "1个月温度", "left": "center" }, "tooltip": { "trigger": "axis" }, "dataZoom": [ { "show": true, "yAxisIndex": 0, //endValue:83.57, "filterMode": "empty", "showDataShadow": false } ], "legend": [ { "data": [ "温度" ], "top": 31, "left": "center" } ], "grid": {}, "xAxis": [ { "data": [ "2015-12-08", "2015-12-09", "2015-12-10", "2015-12-11", "2015-12-12" ] } ], "yAxis": [ { "name": "温度(℃)" } ], "series": [ { "type": "line", "data": [ "83.56", "83.39", "55.10", "-5.47", "-62.83" ], "name": "温度" } ] }
The text was updated successfully, but these errors were encountered:
补充: 如果给 yAxis 设置 max 为 dataMax,则可以看到y轴标尺的最大刻度是 83.39,而不是83.56。也许是查找最大值功能的问题? 如果 max 设置为 84,则功能正确。
Sorry, something went wrong.
2f836a4
如果给 yAxis 设置 max 为 dataMax,请问min怎么可以设置为-1*dataMax?
No branches or pull requests
问题简述 (One-line summary)
当y轴为默认的value类型时,y轴的dataZoom会导致部分临界数据点(例如接近dataZoom自动设置的最大值的数据点)被过滤的问题。
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
期望结果 (Expected behaviour)
临界数据点仍然能正确显示。
可能哪里有问题 (What went wrong)
dataZoom一端自动计算出的限值过于接近临界数据点,可能引起浮点精度问题。
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: