Toggle navigation
十安
By
承***y
2021-01-13 01:59:29
脚本
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: "#20263f", title: { text: '十安', textStyle: { align: 'center', color: 'rgb(102, 219, 252)', fontSize: 30, fontStyle: 'normal', }, top: '5%', left: 'center', }, series: [{ name: '第一个圆环', type: 'pie', clockWise: false, radius: [70, 80], itemStyle: { normal: { label: { show: false }, labelLine: { show: false }, shadowBlur: 0, shadowColor: '#203665' } }, hoverAnimation: false, center: ['10%', '50%'], data: [{ value: 11, label: { normal: { rich: { a: { color: '#ffffff', align: 'center', fontSize: 30, fontWeight: "bold" }, b: { color: '#66dbfc', align: 'center', fontSize: 24 } }, formatter: function(params) { return "{a|" + params.value + "}\n\n"+"{b|燃气}"; }, position: 'center', show: true, textStyle: { fontSize: '14', fontWeight: 'normal', color: '#fff' } } }, itemStyle: { normal: { color: '#725bff', shadowColor: '#613fd1', shadowBlur: 0 } } }, { value: 75, name: 'invisible', itemStyle: { normal: { color: '#142331' }, } }] }, { name: '第二个圆环', type: 'pie', clockWise: false, radius: [70, 80], itemStyle: { normal: { label: { show: false }, labelLine: { show: false }, shadowBlur: 0, shadowColor: '#203665' } }, hoverAnimation: false, center: ['30%', '50%'], data: [{ value: 3, label: { normal: { rich: { a: { color: '#ffffff', align: 'center', fontSize: 30, fontWeight: "bold" }, b: { color: '#66dbfc', align: 'center', fontSize: 24 } }, formatter: function(params) { return "{a|" + params.value + "}\n\n"+"{b|建设工程}"; }, position: 'center', show: true, textStyle: { fontSize: '14', fontWeight: 'normal', color: '#fff' } } }, itemStyle: { normal: { color: '#725bff', shadowColor: '#613fd1', shadowBlur: 0 } } }, { value: 50, name: 'invisible', itemStyle: { normal: { color: '#142331' }, } }] }, { name: '第三个圆环', type: 'pie', clockWise: false, radius: [70, 80], itemStyle: { normal: { label: { show: false }, labelLine: { show: false }, shadowBlur: 0, shadowColor: '#203665' } }, hoverAnimation: false, center: ['50%', '50%'], data: [{ value: 5, label: { normal: { rich: { a: { color: '#ffffff', align: 'center', fontSize: 30, fontWeight: "bold" }, b: { color: '#66dbfc', align: 'center', fontSize: 24 } }, formatter: function(params) { return "{a|" + params.value + "}\n\n"+"{b|房屋}"; }, position: 'center', show: true, textStyle: { fontSize: '14', fontWeight: 'normal', color: '#fff' } } }, itemStyle: { normal: { color: '#725bff', shadowColor: '#613fd1', shadowBlur: 0 } } }, { value: 25, name: 'invisible', itemStyle: { normal: { color: '#142331' }, } }] }, { name: '地下空间', type: 'pie', clockWise: false, radius: [70, 80], itemStyle: { normal: { label: { show: false }, labelLine: { show: false }, shadowBlur: 0, shadowColor: '#203665' } }, hoverAnimation: false, center: ['70%', '50%'], data: [{ value: 3, label: { normal: { rich: { a: { color: '#ffffff', align: 'center', fontSize: 30, fontWeight: "bold" }, b: { color: '#66dbfc', align: 'center', fontSize: 24 } }, formatter: function(params) { return "{a|" + params.value + "}\n\n"+"{b|地下空间}"; }, position: 'center', show: true, textStyle: { fontSize: '14', fontWeight: 'normal', color: '#fff' } } }, itemStyle: { normal: { color: '#725bff', shadowColor: '#613fd1', shadowBlur: 0 } } }, { value: 25, name: 'invisible', itemStyle: { normal: { color: '#142331' }, } }] },{ name: '其他', type: 'pie', clockWise: false, radius: [70, 80], itemStyle: { normal: { label: { show: false }, labelLine: { show: false }, shadowBlur: 0, shadowColor: '#203665' } }, hoverAnimation: false, center: ['90%', '50%'], data: [{ value: 5, label: { normal: { rich: { a: { color: '#ffffff', align: 'center', fontSize: 30, fontWeight: "bold" }, b: { color: '#66dbfc', align: 'center', fontSize: 24 } }, formatter: function(params) { return "{a|" + params.value + "}\n\n"+"{b|其他}"; }, position: 'center', show: true, textStyle: { fontSize: '14', fontWeight: 'normal', color: '#fff' } } }, itemStyle: { normal: { color: '#725bff', shadowColor: '#613fd1', shadowBlur: 0 } } }, { value: 25, name: 'invisible', itemStyle: { normal: { color: '#142331' }, } }] },] }