right: ‘2%’
},
series: [{
name: “主煤流系统手动启动时长”,
barWidth: 15,
type: ‘bar’,
data: [1,2,3,4,5,6],
itemStyle: {
normal: {
label: {
show: true, //开启显示
position: ‘insideLeft’, //在上方显示
offset: [-8, 0],
textStyle: { //数值样式
color: ‘#fff’,
fontSize: 10
}
},
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
offset: 0,
color: “#0069F5” // 0% 处的颜色
}, {
offset: 1,
color: “#35C3FF” // 100% 处的颜色
}], false)
}
},
}, {
name: “主煤流系统智能启动时长”,
barWidth: 15,
type: ‘bar’,
data: [2,3,4,5,6,7],
itemStyle: {
normal: {
label: {
show: true, //开启显示
position: ‘insideRight’, //在上方显示
offset: [8, 0],
textStyle: { //数值样式
color: ‘#fff’,
fontSize: 10
}
},
color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [{
offset: 0,
color: “#03AC32” // 0% 处的颜色
}, {
offset: 1,
color: “#69EF00” // 100% 处的颜色
}], false)
}
},
}]
};
option = {
color: [‘#1890FF’, ‘#FF7D00’],
tooltip: {},
legend: {
show: true,
top: 15,
right: 0,
align: ‘left’,
x: ‘center’,
y: ‘top’,
icon: ‘rect’,
itemHeight: 5,
itemWidth: 15,
data: [“智能配煤”,“非智能配煤”],
textStyle: {
color: ‘rgba(255, 255, 255, 0.8)’,
fontSize: 12
},
},
xAxis: {
axisTick: {
show: false
},
axisLine: {
lineStyle: {
color: ‘#0092D5’
}
},
axisLabel: {
color: ‘rgba(255, 255, 255, 0.8)’
},
data: [‘2020-01’,‘2020-02’,‘2020-03’,‘2020-04’,‘2020-05’,‘2020-06’]
},
yAxis: {
name: “(万元)”,
nameTextStyle: {
color: ‘rgba(255, 255, 255, 0.8)’,
align: ‘right’
},
splitLine: {
lineStyle: {
type: ‘dashed’,
color: ‘#0092D5’,
opacity: 0.3
}
},
axisLine: {
show: false,
},
axisLabel: {
color: ‘rgba(255, 255, 255, 0.8)’
},
},
grid: {
top: ‘25%’,
bottom: ‘10%’,
left: ‘10%’,
right: ‘2%’
},
series: [{
name: “智能配煤”,
barW