造成输差主要原因分析
配置项如下
option = {
title: {
text: '造成输差主要原因分析'
},
tooltip: {
trigger: 'axis'
},
color: ["#00BFFF", "#FF00FF", "#1ce322", "#000000", '#EE7942'],
legend: {
data: ['偷气漏气', '设备故障', '计量误差']
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
containLabel: true
},
toolbox: {
feature: {
saveAsImage: {}
}
},
xAxis: {
type: 'category',
boundaryGap: false,
data: ['2017/1/16','2017/1/17','2017/1/18','2017/1/19','2017/1/20','2017/1/23','2017/1/24','2017/1/25','2017/1/26','2017/2/3','2017/2/6','2017/2/7','2017/2/8','2017/2/9','2017/2/10分红30万','2017/2/13','2017/2/14','2017/2/15','2017/2/16','2017/2/17','2017/2/20','2017/2/21','2017/2/22','2017/2/23','2017/2/24','2017/2/27','2017/2/28','2017/3/1分红40万','2017/3/2','2017/3/3','2017/3/6','2017/3/7','2017/3/8','2017/3/9','2017/3/10','2017/3/13','2017/3/14','2017/3/15','2017/3/16','2017/3/17','2017/3/20','2017/3/21','2017/3/22','2017/3/23','2017/3/24','2017/3/27','2017/3/28','2017/3/29','2017/3/30',]
},
yAxis: [{
type: 'value',
axisLabel: {
formatter: '{value} '
},
min: 0.97,
max: 1.12
}],
dataZoom: [{
type: 'inside',
start: 50,
end: 100
}, {
show: true,
type: 'slider',
y: '90%',
start: 50,
end: 100
}],
series: [{
name: '偷气漏气',
type: 'line',
smooth: true,
lineStyle: {
normal: {
width: 2,
}
},
data: [1,0.999640152,0.991376156,0.991304479,1.00791442,1.015577654,1.008748035,1.015754465,1.022747704,1.016893643,1.030048136,1.025649791,1.03387254,1.041602688,1.013560119,1.021460948,1.021693316,1.014965612,1.015323078,1.007790707,1.011034404,1.023869485,1.026184226,1.029289754,1.034968142,1.030753965,1.033297364,1.005880007,1.001874395,1.006538838,1.018751113,1.024749662,1.018532109,1.014253021,1.012709638,1.016759492,1.01590511,1.016932148,1.027661566,1.024013947,1.025474615,1.024451769,1.017142543,1.015919229,1.018497738,1.016376915,1.016566398,1.010498552,0.983156315,]
}, {
name: '设备故障',
type: 'line',
smooth: true,
lineStyle: {
normal: {
width: 2,
}
},
data: [1,1.001720677,1.003086907,0.999313663,1.006351037,1.010742952,1.012605408,1.014860976,1.017960772,1.011838514,1.017255102,1.01600165,1.020477343,1.025697374,1.030053844,1.036543437,1.036894662,1.035302875,1.040661462,1.031787409,1.043993259,1.048301396,1.050843744,1.047673059,1.048333618,1.040352127,1.044563596,1.046239161,1.040793574,1.037017107,1.042030914,1.044782708,1.044218816,1.036514437,1.035228763,1.04304592,1.043790258,1.044573262,1.053331314,1.043184477,1.047489391,1.050969411,1.045688158,1.046761164,1.053495648,1.05269331,1.04817895,1.044428262,1.034416758,]
}, {
name: '计量误差',
type: 'line',
smooth: true,
lineStyle: {
normal: {
width: 2,
}
},
data: [1,1.01173606,1.009467919,1.005741908,1.019905691,1.027117824,1.023551396,1.027300058,1.034928136,1.03006754,1.037675027,1.035290544,1.042965983,1.048382547,1.04875834,1.057453052,1.056844576,1.047818343,1.055716168,1.049946462,1.063442056,1.071344,1.075321226,1.074112511,1.075254304,1.065969648,1.06986039,1.072669055,1.067386336,1.070494605,1.08334157,1.086415864,1.080873692,1.07292027,1.07600383,1.08721275,1.084314513,1.085475867,1.09385759,1.082634256,1.084376287,1.089965818,1.086558974,1.089597233,1.096153529,1.089481921,1.087563833,1.083191253,1.065426036,]
}]
};