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
1.option如下 2.调用setOption()方法
无法绘制
entity._coordSysMgr._coordinateSystems[0]._axesMap.x[0].scale._extent[1]
这个变量的小数长度达到19位,后续会调用Number.toFixed(19+2),会导致RangeError异常,下图已贴出
option={ "tooltip": { "trigger": "axis", "axisPointer": { "type": "shadow" } }, "legend": { "data": [ "社交", "网购", "视频" ] }, "grid": { "left": "3%", "right": "4%", "bottom": "3%", "containLabel": true }, "xAxis": { "type": "value" }, "yAxis": { "type": "category", "data": [ "车主兴趣爱好" ] }, "series": [ { "name": "社交", "type": "bar", "stack": "比例", "label": { "normal": { "show": true, "position": "top" } }, "data": [ "0.00400" ] }, { "name": "网购", "type": "bar", "stack": "比例", "label": { "normal": { "show": true, "position": "top" } }, "data": [ "0.00020" ] }, { "name": "视频", "type": "bar", "stack": "比例", "label": { "normal": { "show": true, "position": "top" } }, "data": [ "0.00060" ] } ] }
The text was updated successfully, but these errors were encountered:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError
Sorry, something went wrong.
这个异常是什么我知道,这个异常是由于错误的调用toFixed方法我也知道。但是这个方法不是我主动调用的 ,是echarts内部的实现自己调用的,并且在样例option下就会出现这个异常,echarts是不是应该解决下?
761ce21
Sorry 已修复
No branches or pull requests
特定数据的绘制异常
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
1.option如下
2.调用setOption()方法
期望结果 (Expected behaviour)
无法绘制
可能哪里有问题 (What went wrong)
entity._coordSysMgr._coordinateSystems[0]._axesMap.x[0].scale._extent[1]
这个变量的小数长度达到19位,后续会调用Number.toFixed(19+2),会导致RangeError异常,下图已贴出
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: