Toggle navigation
案件分布信息统计--柱状图
By
邓***e
2018-01-30 21:52:43
脚本
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 = { title : { text: '案件受理情况分析', }, tooltip: { trigger: 'axis', axisPointer: {type: 'cross'} }, toolbox: { feature: { dataView: {show: true, readOnly: false}, magicType: {show: true, type: ['line', 'bar']}, restore: {show: true}, saveAsImage: {show: true} } }, legend: { data:['受理案件数量','涉案金额'] }, xAxis: [ { type: 'category', data: ['崇左市','来宾市','河池市','贺州市','百色市','玉林市','贵港市','钦州市','防城港市','北海市','梧州市','桂林市','柳州市','南宁市'] } ], yAxis: [ { type: 'value', name: '受理案件数量', min: 0, max: 450, interval: 50, axisLabel: { formatter: '{value}' } }, { type: 'value', name: '涉案金额(万元)', min: 0, interval: 10, position: 'right', axisLabel: { formatter: '{value}', } } ], series: [ { name:'受理案件数量', type:'bar', itemStyle:{normal:{color:'#386AB7'}}, data:[200, 210, 220, 210, 230, 290, 310, 340,320, 300, 250, 210,250, 210], markPoint : { data : [ {type : 'max', name : '最大值'}, {type : 'min', name : '最小值'} ] }, markLine : { data : [ {type : 'average', name : '平均值'} ] } }, { name:'涉案金额', type:'line', yAxisIndex: 1, itemStyle:{normal:{color:'#ff9933'}}, data:[97, 110, 110, 70, 121, 132, 109, 110, 87, 88, 75, 74,75, 74], markPoint : { data : [ {type : 'max', name : '最大值'}, {type : 'min', name : '最小值'} ] }, markLine : { data : [ {type : 'average', name : '平均值'} ] } } ] };