Toggle navigation
By
BREEZE微风2016
2017-03-09 09:43:58
脚本
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
图表已生成
整理代码
刷新
代码
app.title = '折柱混合'; option = { tooltip: { trigger: 'axis' }, toolbox: { feature: { dataView: {show: true, readOnly: false}, magicType: {show: true, type: ['line', 'bar']}, restore: {show: true}, saveAsImage: {show: true} } }, legend: { data:['16年','17年','成长'] }, xAxis: [ { type: 'category', data: ['60天','59天','58天','57天','56天','55天','54天','53天','52天','51天','50天', '49天', '48天', '47天', '46天', '45天', '44天', '43天', '42天', '41天', '40天', '39天', '38天', '37天', '36天', '35天', '34天', '33天', '32天', '31天', '30天', '29天', '28天', '27天', '26天', '25天', '24天', '23天', '22天', '21天', '20天', '19天', '18天', '17天', '16天', '15天', '14天', '13天', '12天', '11天', '10天', '9天', '8天', '7天', '6天', '5天', '4天', '3天', '2天', '1天', ] } ], yAxis: [ { type: 'value', name: '销量(箱)', min: 0, max: 180000, axisLabel: { formatter: '{value} 箱' } }, { type: 'value', name: '成长%', min: -100, max: 200, axisLabel: { formatter: '{value}% ' } } ], series: [ { name:'16年', type:'bar', data:[3555.802, 4136.257, 11559.393, 5657.429, 3434.733, 3692.649, 3910.937, 4178.071, 5092.252, 7292.271, 7628.872, 4955.066, 5745.762, 7454.019, 11584.853, 9474.681, 11357.239, 10140.963, 5770.516, 6662.236, 9277.539, 11308.161, 18194.347, 13025.598, 18245.64, 11644.833, 7557.532, 9117.875, 9222.225, 10804.26, 14582.032, 15616.531, 19872.36, 12180.969, 12751.46, 13807.572, 17638.069, 27790.526, 31105.93, 20383.276, 23528.833, 26592.792, 34575.77, 34136.109, 53060.575, 65254.124, 44768.864, 50272.896, 58639.247, 62177.868, 86930.558, 119000.661, 129313.384, 107697.405, 124772.287, 139604.086, 150698.949, 164868.338, 119627.265, 58804.26] }, { name:'17年', type:'bar', data:[3327.494, 3459.39, 3610.984, 5383.577, 5837.974, 5697.981, 3800.603, 3764.812, 3743.68, 3733.013, 4998.011, 6663.065, 6933.057, 4639.493, 4062.539, 4518.056, 5108.711, 5829.843, 8271.181, 8200.459, 5202.969, 5996.679, 7067.692, 9254.388, 10444.257, 15636.173, 13157.306, 6933.738, 8671.483, 9329.037, 11990.788, 12530.9, 25760.118, 33019.355, 29180.489, 17616.332, 14263.335, 14941.598, 20809.245, 28624.937, 33312.156, 22188.35, 24602.72, 29955.655, 36630.913, 44334.042, 66867.541, 80909.731, 58679.456, 70571.901, 77863.052, 90669.175, 106253.473, 147362.83, 139777.841, 141868.897, 161116.782, 159722.215, 118846.593, 54108.593] }, { name:'成长%', type:'line', yAxisIndex: 1, data:[-6.420717464, -16.36423946, -68.76147389, -4.840573342, 69.96878651, 54.30605508, -2.821165363, -9.891143544, -26.48282135, -48.80863588, -34.48558319, 34.46975277, 20.66383884, -37.75850316, -64.93232154, -52.31442621, -55.01801978, -42.51193895, 43.33520607, 23.08868974, -43.91865127, -46.97034292, -61.15446188, -28.95229839, -42.75751906, 34.27563109, 74.09527343, -23.95445211, -5.971899406, -13.65408644, -17.77011599, -19.75874796, 29.6278751, 171.073303, 128.8403759, 27.58457461, -19.13323959, -46.23492193, -33.10200017, 40.43344652, 41.58014552, -16.56254071, -28.8440431, -12.24642797, -30.96397278, -32.0594021, 49.36171041, 60.94105858, 0.068570117, 13.50003348, -10.43074634, -23.80783919, -17.83257872, 36.83043709, 12.02635165, 1.622309966, 6.913009725, -3.121353113, -0.652587017, -7.985249708] } ] };