Toggle navigation
基础雷达图
By
小明的小可
2017-06-16 02:00:19
脚本
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:'#06152a', title: { text: '基础雷达图' }, radar: { yAxis: { axisLine: { show: false }, axisTick: { show: false }, axisLabel: { textStyle: { color: '#999' } } }, shape: 'circle',//雷达图绘制类型 polygon 多边形 circle 圆形 center:['50%','50%'],//位置 radius:'50%',//半径 startAngle :90,//起始角度 nameGap :30,//名称和指示器轴的距离 splitNumber :20,//分割段数 splitArea: {//背景分割区域 areaStyle: { color: ['rgba(0,0,0,0)', 'rgba(0,0,0,0)', 'rgba(0,0,0,0)', 'rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','rgba(0,0,0,0)','#04a8d5',] } }, indicator: [//雷达图的指示器,用来指定雷达图中的多个变量(维度) { name: '管理制度与策略', max: 6500}, { name: '管理制度与策略', max: 16000}, { name: '管理制度与策略', max: 30000}, { name: '管理制度与策略', max: 300000}, { name: '管理制度与策略', max: 300000}, ], splitLine: { lineStyle: { color: 'rgba(0,0,0,0)' } }, name: { show: true, textStyle:{ color:"#fff" } }, }, legend:{ show:true, backgroundColor:'red', }, series: [{ name: '雷达图1', type: 'radar', areaStyle: {normal: {}}, lineStyle: { normal: { color:'rgba(0,0,0,0)', curveness: 0.1 } }, itemStyle: { normal:{ color:'#005AAF', borderWidth:10, borderColor: '#aaa', borderType:'dashed', shadowColor: 'red', shadowBlur: 2, opacity:1 },emphasis:{ color:'red', borderWidth:16 }, areaStyle: { normal: { opacity: 0, color:'#aaa' } } },//拐点样式 lineStyle: {normal: {color:'#005AAF',width:2}},//折线样式 data : [ { value : [4300, 10000, 28000, 35000, 50000,10000], name : '预算分配(Allocated Budget)' } ] }] };