Toggle navigation
雷达图
By
l***9
2017-11-21 08:50:26
脚本
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
图表已生成
整理代码
刷新
代码
var text = [ { text: '新房成交量' }, { text: '经理指数' }, { text: '来访指数' }, { text: '库存消化速度' }, { text: '新房成交均价' }] var lineStyle = { lineStyle: { color: ['#111', '#111', '#111', '#111', '#111', '#fff'] } } var textStyle={color:"#be0712",fontSize:"18", fontWeight:'1000' } option = { backgroundColor:'#111', title:[ {text:"广州",x: '2%', y: '1%',textStyle:textStyle}, {text:"深圳",x: '40%', y: '1%',textStyle:textStyle}, {text:"东莞",x: '75%', y: '1%',textStyle:textStyle}, {text:"中山",x: '2%', y: '30%',textStyle:textStyle}, {text:"佛山",x: '40%', y: '30%',textStyle:textStyle}, {text:"惠州",x: '75%', y: '30%',textStyle:textStyle}, {text:"珠海",x: '2%', y: '60%',textStyle:textStyle}, ], legend: { bottom:'10%', right:'5%', orient:'vertical', itemWidth: 50, itemHeight: 5, data: ['图一','图二', '图三',] }, color:['#be0712','#fdbf2d','#7f7f7f'], radar: [ { indicator:text, center: ['15%', '15%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, }, { indicator: text, center: ['50%', '15%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, }, { indicator: text, center: ['85%', '15%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, }, { indicator:text, center: ['15%', '45%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, }, { indicator: text, center: ['50%', '45%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, }, { indicator: text, center: ['85%', '45%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, }, { indicator: text, center: ['15%', '75%'], radius: 60, splitArea: { show: false }, splitLine: lineStyle, } ], series: [ { name: '广州', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, data: [ { value: [100, 8, 0.40, -80, 200], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -100, 150], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [20, 35, 1.30, 100, 50], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] }, { name: '深圳', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, radarIndex: 1, data: [ { value: [10, 8, 0.40, -80, 300], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -100, 250], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [220, 35, 1.30, 100, 450], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] }, { name: '东莞', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, radarIndex: 2, data: [ { value: [10, 8, 0.40, -30, 30], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -150, 250], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [20, 35, 1.30, 200, 450], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] }, { name: '中山', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, radarIndex: 3, data: [ { value: [100, 8, 0.40, -80, 200], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -100, 150], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [20, 35, 1.30, 100, 50], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] }, { name: '佛山', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, radarIndex:4, data: [ { value: [10, 8, 0.40, -80, 300], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -100, 250], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [220, 35, 1.30, 100, 450], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] }, { name: '惠州', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, radarIndex:5, data: [ { value: [10, 8, 0.40, -30, 30], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -150, 250], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [20, 35, 1.30, 200, 450], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] }, { name: '珠海', type: 'radar', itemStyle: { emphasis: { // color: 各异, lineStyle: { width: 1 } } }, radarIndex:6, data: [ { value: [10, 8, 0.40, -30, 30], name: '图一', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [60, 5, 0.30, -150, 250], name: '图二', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } }, { value: [20, 35, 1.30, 200, 450], name: '图三', symbol: 'rect', symbolSize: 5, lineStyle: { normal: { type: 'solid' } } } ] } ] }