Toggle navigation
雷达图
By
郭子21
2017-05-19 03:33:07
脚本
16
21
作品使用的第三方脚本
数据管理
上传数据
支持小于 5M 任意格式(csv, xlsx, json, xml, ...)的数据文件
上传后可以通过生成的文件链接异步获取托管的数据。
历史数据
0 条
无历史数据
代码修改记录
信息提示
保存作品
对当前截图不满意?你还可以
上传本地截图
重新截图
作品名称
作品描述
标签
geo
grid
legend
markLine
markPoint
bar
effectScatter
line
lines
map
timeline
title
toolbox
tooltip
visualMap
作品默认版本
最新
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
20:11:45
图表已生成
整理代码
刷新
代码
option = { backgroundColor: '#161627', tooltip: { trigger: 'axis' }, color: ['#65f5f3', '#db23eb'], legend: { orient: 'vertical', x: 'right', y: 'bottom', textStyle: { color: '#999' }, data: ['范畴一', '范畴二'] }, polar: [{ indicator: [{ text: '外购热力', max: 6000 }, { text: '外购电力', max: 16000 }, { text: '逸散排放', max: 30000 }, { text: '制程排放', max: 38000 }, { text: '移动燃烧排放', max: 25000 }, { text: '固定燃烧排放', max: 52000 } ], // shape: 'circle', axisLine: { // 坐标轴线 show: true, // 默认显示,属性show控制显示与否 lineStyle: { // 属性lineStyle控制线条样式 color: '#999', width: 0.5, type: 'dashed' } }, splitArea: { areaStyle: { color: ['rgba(34, 48,100, 0.8)', 'rgba(5, 20, 96, 0.8)', 'rgba(34, 48, 101 0.6)', 'rgba(5, 20,96, 0.7)', 'rgba(5, 20, 100, 0.6)', 'rgba(5, 20, 96, 0.8)' ], shadowColor: 'rgba(0, 0, 0, 0.2)', shadowBlur: 1 } }, name: { textStyle: { color: '#c6d5de' } } }], calculable: true, series: [{ name: '范畴', type: 'radar', itemStyle: { //图形样式,可设置图表内图形的默认样式和强调样式(悬浮时样式): normal: { areaStyle: { type: 'default', color: ['rgba(101,245,243,0.3)', 'rgba(101,250,250,0.6)'] } } }, data: [{ value: [0, 0, 20000, 12000, 20000, 30000], name: '范畴一' }, { value: [5000, 14000, ], name: '范畴二' }] }] };