Toggle navigation
V0.3.0 日常监管——检查类型违法趋势子页面气泡图
By
邓***e
2018-03-28 06:44:39
脚本
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 data1=[462,498,482,473,482,493]; option = { backgroundColor:'#fff', legend: { top:'30', data: ['日常检查','专项检查', '飞行检查', '督导检查','临时检查'] }, grid:{ bottom:'60%', right:'18%', left:'15%', top:'15%' }, title: { text: '检查类型违规趋势分析' }, xAxis: { splitLine: { lineStyle: { show:true, type: 'dashed' } },"axisLabel": { "interval": 0, rotate:40, textStyle:{ fontSize:12, color:'#000' },}, "data": ['热食类食品制售','冷食类食品制售','生食类食品制售','糕点类食品制售','自制饮品制售','其他类食品制售'] }, yAxis: { min:100, name:'违法违规主体数', splitLine: { lineStyle: { type: 'dashed' } } }, tooltip: { trigger: 'item', formatter: '{b}
{a}:{c}' }, series: [{ name:'日常检查', symbolSize: function (data) { return Math.sqrt(data) * 1; }, type: 'scatter', color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ offset: 0, color: 'rgb(164,298, 250)' }, { offset: 1, color: '#33CC00' }]), data:data1 },{ name:'专项检查', symbolSize: function (data) { return Math.sqrt(data) * 1; }, type: 'scatter', color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ offset: 0, color: 'rgb(251, 118, 123)' }, { offset: 1, color: '#669999' }]), data:[632,613,652,625,684,628] },{ name:'飞行检查', symbolSize: function (data) { return Math.sqrt(data) *1; }, type: 'scatter', color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ offset: 0, color: 'rgb(154, 255, 154)' }, { offset: 1, color: '#FFCC00' }]), data:[331,315,367,385,367,362] },{ name:'督导检查', symbolSize: function (data) { return Math.sqrt(data) * 1; }, type: 'scatter', color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ offset: 0, color: 'rgb(154, 255, 154)' }, { offset: 1, color: '#008000' }]), data:[423,416,435,456,463,435] },{ name:'临时检查', symbolSize: function (data) { return Math.sqrt(data) * 1; }, type: 'scatter', color: new echarts.graphic.RadialGradient(0.4, 0.3, 1, [{ offset: 0, color: 'rgb(154, 255, 154)' }, { offset: 1, color: '#3300FF' }]), data:[233,245,263,251,238,216] }] };