Toggle navigation
企业分析
By
尤学谦
2017-09-18 03:17:00
脚本
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: "#404A59", color: ['#ffd285', '#ff733f', '#ec4863'], title: [{ text: '企业分析', left: '45%', top: '6%', textStyle: { color: '#fff' } }/*, { text: '用户来源占比', left: '83%', top: '6%', textAlign: 'center', textStyle: { color: '#fff' } }*/], tooltip: { trigger: 'axis' }, grid: { left: '30%', right: '35%', top: '20%', bottom: '20%', containLabel: true }, toolbox: { "show": false, feature: { saveAsImage: {} } }, xAxis: { type: 'category', "axisLine": { lineStyle: { color: '#FF4500' } }, "axisTick": { "show": false }, axisLabel: { textStyle: { color: '#fff' }, interval:0, rotate:40 }, boundaryGap: false, data: ['东华门街道', '景山', '交道口', '安定门', '北新桥', '东四', '朝阳门','建国门','东直门','和平里','前门','崇文门外','东花市', '龙潭','体育馆路','天坛','永定门外','前门管委会','王府井建管办', '北京站管理处'] }, yAxis: { "axisLine": { lineStyle: { color: '#fff' } }, splitLine: { show: true, lineStyle: { color: '#fff' } }, "axisTick": { "show": false }, axisLabel: { textStyle: { color: '#fff' } }, type: 'value' }, series: [{ //name: '在大理', smooth: true, type: 'line', symbolSize: 8, symbol: 'circle', data: [650, 566, 390, 500, 960, 820, 560,900, 500, 390, 500, 1002, 820, 800, 900, 500, 390, 500, 1126, 820] },/* { name: '标准版', smooth: true, type: 'line', symbolSize: 8, symbol: 'circle', data: [70, 50, 50, 87, 90, 80, 70] }, { name: '潍V', smooth: true, type: 'line', symbolSize: 8, symbol: 'circle', data: [290, 200,20, 132, 15, 200, 90] }, */ { type: 'pie', center: ['83%', '33%'], radius: ['25%', '30%'], label: { normal: { position: 'center' } }, data: [{ value: 335, //name: '用户来源分析', itemStyle: { normal: { color: '#ffd285' } }, label: { normal: { formatter: '{d} %', textStyle: { color: '#ffd285', fontSize: 20 } } } }, { value: 180, //name: '占位', tooltip: { show: false }, itemStyle: { normal: { color: '#87CEFA' } }, label: { normal: { textStyle: { color: '#ffd285', }, formatter: '\n有职业危害因素企业占比' } } }] }, { type: 'pie', center: ['15%', '33%'], radius: ['25%', '30%'], label: { normal: { position: 'center' } }, data: [{ value: 435, name: '用户来源分析', itemStyle: { normal: { color: '#ff733f' } }, label: { normal: { formatter: '{d} %', textStyle: { color: '#ff733f', fontSize: 20 } } } }, { value: 300, name: '占位1', tooltip: { show: false }, itemStyle: { normal: { color: '#87CEFA' } }, label: { normal: { textStyle: { color: '#FF4500', }, formatter: '\n有危险化学品企业占比' } } }] }, { type: 'pie', center: ['15%', '72%'], radius: ['25%', '30%'], label: { normal: { position: 'center' } }, data: [{ value: 500, name: '用户来源分析', itemStyle: { normal: { color: '#ff733f' } }, label: { normal: { formatter: '{d} %', textStyle: { color: '#ff733f', fontSize: 20 } } } }, { value: 80, name: '占位', tooltip: { show: false }, itemStyle: { normal: { color: '#87CEFA' } }, label: { normal: { textStyle: { color: '#FF4500', }, formatter: '\n有特种设备企业占比' } } }] }, { type: 'pie', center: ['83%', '72%'], radius: ['25%', '30%'], label: { normal: { position: 'center' } }, data: [{ value: 435, name: '用户来源分析', itemStyle: { normal: { color: '#ff733f' } }, label: { normal: { formatter: '{d} %', textStyle: { color: '#ff733f', fontSize: 20 } } } }, { value: 100, name: '占位', tooltip: { show: false }, itemStyle: { normal: { color: '#87CEFA' } }, label: { normal: { textStyle: { color: '#FF4500', }, formatter: '\n有天然气企业占比' } } }] }] }