Toggle navigation
地区数据指数分析图 for Axure
By
莱***o
2020-06-18 08:50:54
脚本
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 min = 100; var max = 2000; option = { backgroundColor:'', grid: { left: '2.5%', top:'5.5%', right: '2.8%', bottom: '10%', containLabel: true }, xAxis : [ { type : 'category', axisLabel:{ textStyle:{ color: '#121a2a', fontSize:'12', }, interval:0, rotate:-45, }, data: ['河北省','山西省','辽宁省','吉林省','黑龙江省','江苏省','浙江省','安徽省','福建省','江西省','山东省','河南省','湖北省','湖南省','广东省','海南省','四川省','贵州省','云南省','陕西省','甘肃省'], axisLine:{ lineStyle:{ color:'#121a2a', } }, axisTick:{ show:false }, } ], yAxis : [ { type : 'value', nameGap:25, nameTextStyle:{ color:'#121a2a', fontSize:'16', }, axisLabel: { show: false, textStyle: { color: '#121a2a', fontSize:'12', } }, axisTick:{ show: false }, axisLine: { show: false, lineStyle:{ color:'rgba(160,160,160,0.3)', } }, splitLine: { show: false, lineStyle:{ color:'rgba(160,160,160,0.3)', } } }, ], series : [ { type:'bar', barWidth: '40%', itemStyle:{ normal:{ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ offset: 0, color: '#00CCFF' }, { offset: 1, color: '#00CCFF' }]), } }, label:{ normal:{ show:true, position:'top', formatter:function(param){ if(param.value==max||param.value==min){ return '' } return param.value }, textStyle:{ color:'#121a2a', fontSize:'12', } } }, markPoint : { symbolSize:'70', label:{ normal:{ textStyle:{ color:'#121a2a', fontSize:'16', } } } }, // data:[100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1500,1600,1700,1800,1900,2000] data:[2670,2500,1980,1955,1800,1500,1430,1250,1200,980,900,870,830,706,679,647,611,558,450,442,300] } ] }