Toggle navigation
04安全服务-违法违规分析
By
适***止
2020-08-22 02:21:20
脚本
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 xData = function() { var data = ["石化特勤二大队", "金州大队", "开发区大队", "普兰店大队", "石化特警一大队", "甘井子大队", "旅顺大队", "庄河大队", "特勤大队", "瓦房店大队","战勤保障大队","长兴岛大队","金石滩大队","沙河口大队","高新园大队"]; return data; }(); option = { backgroundColor: "RGBA(7, 28, 51, 1)", legend: { data: ['灭火类', '举高类', '专勤类', '后援类', '其他类'], right: "15%", top: 20, itemWidth: 30, itemHeight: 10, type: "plain", icon:"rect", textStyle: { color: "RGBA(154, 209, 253, 1)" } }, "tooltip": { "trigger": "axis", "axisPointer": { "type": "shadow", textStyle: { color: "#fff" } }, }, "grid": { "borderWidth": 0, "top": 110, "bottom": 95, textStyle: { color: "#fff" } }, "calculable": true, "xAxis": [{ "type": "category", "axisLine": { "show":false }, "splitLine": { "show": false }, "axisTick": { "show": false }, "splitArea": { "show": false }, "axisLabel": { "interval": 0, color: 'rgba(255,255,255,0.7)', fontSize: 18, rotate:30 }, "data": xData, }], "yAxis": [{ "type": "value", "splitLine": { "show": false, }, "axisLine": { "show": false }, "axisTick": { "show": false }, "axisLabel": { "interval": 0, color: 'rgba(255,255,255,0.5)', fontSize: 20 }, "splitArea": { "show": false }, } ], "series": [{ "name": "灭火类", "type": "bar", "stack": "1", "barMaxWidth": 35, "barGap": "10%", "itemStyle": { "normal": { "color": "rgba(17, 161, 163, 0.9)", opacity: 0.9, } }, "data": [ 16, 11, 8, 14, 17, 16, 11, 8, 14, 17, 16, 11, 8, 14, 17 ], }, { "name": "举高类", "type": "bar", "stack": "1", "itemStyle": { "normal": { "color": "rgba(67, 108, 147, 0.9)", opacity: 1 } }, "data": [ 9, 7, 3, 2, 6, 9, 7, 3, 2, 6, 9, 7, 3, 2, 6 ] }, { "name": "专勤类", "type": "bar", "stack": "1", "barMaxWidth": 35, "barGap": "10%", "itemStyle": { "normal": { "color": "rgba(106,82,157, 0.9)", opacity: 1, } }, "data": [ 13, 19, 6, 12, 15, 13, 19, 6, 12, 15, 13, 19, 6, 12, 15 ], }, { "name": "后援类", "type": "bar", "stack": "1", "barMaxWidth": 35, "barGap": "10%", "itemStyle": { "normal": { "color": "rgba(182, 88, 79, 1)", opacity: 1, } }, "data": [ 13, 19, 6, 12, 15, 13, 19, 6, 12, 15, 13, 19, 6, 12, 15 ], }, { "name": "其他类", "type": "bar", "stack": "1", "barMaxWidth": 35, "barGap": "10%", "itemStyle": { "normal": { "color": 'rgba(176, 179, 99, 0.9)' } }, "data": [ 13, 19, 6, 12, 15, 13, 19, 6, 12, 15, 13, 19, 6, 12, 15 ], } ] }