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
npm安装echarts 3.4.4 地图配置出现bug
series[0].itemStyle.normal.areaColor 颜色生效 升级到最新的echarts 3.4.4以后 .areaColor都为白色
option = { "tooltip": { "trigger": "item", "formatter":function(params,ticket,cb){ //自定义显示框 params.value=params.value||0; var contentHTML=params.name+" - "+params.value; return contentHTML; } }, "visualMap": { "min": 0, "max": 96.89, "left": 20, "align": "bottom", "type": "piecewise", "bottom": 25, "text": ["覆盖率(高-低)"], "calculable": true, "inverse": true, "orient": "horizontal", "inRange": { "color": ["#d1eaff", "#1a96f0"] }, formatter: function (value) { return parseInt(value)||0; // 范围标签显示内容。 } }, "series": [{ "name": "中国", "type": "map", "mapType": "china", "selectedMode": "multiple", "itemStyle": { "normal": { "areaColor": "#d1eaff", "borderColor": "#fff" }, "emphasis": { "areaColor": "#f1f5f8" } }, "data": [{ "name": "浙江", "value": "96.89" }, { "name": "unknown", "value": "2.67" }, { "name": "其它", "value": "0.44" }] }] }
The text was updated successfully, but these errors were encountered:
Fix for #5388
ba38ebf
ecomfe/zrender@096ca50
No branches or pull requests
One-line summary [问题简述]
npm安装echarts 3.4.4 地图配置出现bug
Version & Environment [版本及环境]
Expected behaviour [期望结果]
series[0].itemStyle.normal.areaColor 颜色生效
升级到最新的echarts 3.4.4以后 .areaColor都为白色
ECharts option [ECharts配置项]
Other comments [其他信息]
The text was updated successfully, but these errors were encountered: