Toggle navigation
测试1
By
低***h
2019-09-07 08:10:50
脚本
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: '#00051c', title: { left: 20, top: '5', textStyle: { fontWeight: 'bold', fontSize: '16', color: 'white', }, text: '测试', }, legend: { // data:['本网格(元)','本地网同类网格均值(万元)'], data: ['概率'], show: 'true', top: '10', // left:'2', textStyle: { fontWeight: 'bold', fontSize: '14', color: ['#855de6'], } // textStyle: { // fontWeight: 'bold', // fontSize: '12', // color:['#3472c3','#60d3d9'], // } }, xAxis: { axisTick: { show: false }, axisLine: { lineStyle: { color: 'white', } }, axisLabel: { show: true, textStyle: { fontSize: 12 //更改坐标轴文字大小 }, interval: 0, //强制显示所有标签 rotate: 45, //代表逆时针旋转45度 }, data: ["二区", "三区", "四区", "五区", "七区", "八区", "九️区", "十区", "十一区", "十二区", "十三区", "14", "15", "16", "17", "18", "19", "20" ], }, yAxis: { type: 'value', min: 0, max: 100, interval: 25, splitLine: { show: false }, axisTick: { show: false }, axisLabel: { formatter: '{value}% ' }, axisLine: { lineStyle: { color: 'white', } }, }, series: [{ // For shadow type: 'bar', itemStyle: { normal: { color: 'rgba(41,29,96,0.5)' } }, barGap: '-100%', barCategoryGap: '40%', data: [100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100, 100 ], animation: false }, { name: '概率', type: 'bar', // barWidth: 50, barGap: '-100%', itemStyle: { normal: { color: new echarts.graphic.LinearGradient( 0, 0, 0, 1, [{ offset: 0, color: '#514ddd' }, //柱图渐变色 { offset: 0.5, color: '#855de6' }, //柱图渐变色 { offset: 1, color: '#9e65ea' }, //柱图渐变色 ] ) }, }, data: [50, 60, 70, 80, 80, 60, 55, 59, 78, 65, 48, 38, 65, 48, 38, 65, 48, 38], } ] };