|
@@ -61,7 +61,7 @@
|
|
|
textStyle: {
|
|
|
fontWeight: 'normal',
|
|
|
fontSize: 16,
|
|
|
- color: '#F1F1F3'
|
|
|
+ color: '#000000'
|
|
|
},
|
|
|
left: '1%'
|
|
|
},
|
|
@@ -69,7 +69,7 @@
|
|
|
trigger: 'axis',
|
|
|
axisPointer: {
|
|
|
lineStyle: {
|
|
|
- color: '#57617B'
|
|
|
+ color: '#000000'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -83,7 +83,7 @@
|
|
|
right: '4%',
|
|
|
textStyle: {
|
|
|
fontSize: 12,
|
|
|
- color: '#F1F1F3'
|
|
|
+ color: '#000000'
|
|
|
}
|
|
|
},
|
|
|
dataZoom: [{
|
|
@@ -94,7 +94,7 @@
|
|
|
left: "15%",
|
|
|
right: "15%",
|
|
|
textStyle: {
|
|
|
- color: "#ffffff"
|
|
|
+ color: "#000000"
|
|
|
}
|
|
|
}, {
|
|
|
type: 'inside'
|
|
@@ -111,7 +111,7 @@
|
|
|
boundaryGap: false,
|
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
|
- color: '#ffffff'
|
|
|
+ color: "#000000"
|
|
|
}
|
|
|
},
|
|
|
data: timeaxis
|
|
@@ -124,7 +124,7 @@
|
|
|
},
|
|
|
axisLine: {
|
|
|
lineStyle: {
|
|
|
- color: '#ffffff'
|
|
|
+ color: '#000000'
|
|
|
}
|
|
|
},
|
|
|
axisLabel: {
|
|
@@ -166,7 +166,8 @@
|
|
|
option.yAxis[0].max = cap
|
|
|
|
|
|
if(displayKyLl == 1){
|
|
|
- option.legend.data = ['实际功率','可用功率','理论功率','参照理论功率(测风、测光法)','参照理论功率(样板机法)','参照可用功率(测风、测光法)','参照可用功率(样板机法)']
|
|
|
+ // option.legend.data = ['实际功率','可用功率','理论功率','参照理论功率(测风、测光法)','参照理论功率(样板机法)','参照可用功率(测风、测光法)','参照可用功率(样板机法)']
|
|
|
+ option.legend.data = ['实际功率','可用功率','理论功率']
|
|
|
option.series.push({
|
|
|
name: '可用功率',
|
|
|
type: 'line',
|
|
@@ -179,19 +180,19 @@
|
|
|
width: 2
|
|
|
}
|
|
|
},
|
|
|
- areaStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
- offset: 0,
|
|
|
- color: 'rgba(219, 50, 51, 0.3)'
|
|
|
- }, {
|
|
|
- offset: 0.8,
|
|
|
- color: 'rgba(219, 50, 51, 0)'
|
|
|
- }], false),
|
|
|
- shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
- shadowBlur: 10
|
|
|
- }
|
|
|
- },
|
|
|
+ // areaStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ // offset: 0,
|
|
|
+ // color: 'rgba(219, 50, 51, 0.3)'
|
|
|
+ // }, {
|
|
|
+ // offset: 0.8,
|
|
|
+ // color: 'rgba(219, 50, 51, 0)'
|
|
|
+ // }], false),
|
|
|
+ // shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
+ // shadowBlur: 10
|
|
|
+ // }
|
|
|
+ // },
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
|
|
@@ -213,19 +214,19 @@
|
|
|
width: 2
|
|
|
}
|
|
|
},
|
|
|
- areaStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
- offset: 0,
|
|
|
- color: 'rgba(219, 50, 51, 0.3)'
|
|
|
- }, {
|
|
|
- offset: 0.8,
|
|
|
- color: 'rgba(219, 50, 51, 0)'
|
|
|
- }], false),
|
|
|
- shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
- shadowBlur: 10
|
|
|
- }
|
|
|
- },
|
|
|
+ // areaStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ // offset: 0,
|
|
|
+ // color: 'rgba(219, 50, 51, 0.3)'
|
|
|
+ // }, {
|
|
|
+ // offset: 0.8,
|
|
|
+ // color: 'rgba(219, 50, 51, 0)'
|
|
|
+ // }], false),
|
|
|
+ // shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
+ // shadowBlur: 10
|
|
|
+ // }
|
|
|
+ // },
|
|
|
itemStyle: {
|
|
|
normal: {
|
|
|
|
|
@@ -235,141 +236,143 @@
|
|
|
}
|
|
|
},
|
|
|
data: theorypower
|
|
|
- },{
|
|
|
- name: '参照理论功率(测风、测光法)',
|
|
|
- type: 'line',
|
|
|
- smooth: true,
|
|
|
- symbol: 'circle',
|
|
|
- symbolSize: 5,
|
|
|
- showSymbol: false,
|
|
|
- lineStyle: {
|
|
|
- normal: {
|
|
|
- width: 2
|
|
|
- }
|
|
|
- },
|
|
|
- areaStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
- offset: 0,
|
|
|
- color: 'rgba(219, 50, 51, 0.3)'
|
|
|
- }, {
|
|
|
- offset: 0.8,
|
|
|
- color: 'rgba(219, 50, 51, 0)'
|
|
|
- }], false),
|
|
|
- shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
- shadowBlur: 10
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
-
|
|
|
- color: cc.cfgf,
|
|
|
- borderColor: 'rgba(219,50,51,0.2)',
|
|
|
- borderWidth: 12
|
|
|
- }
|
|
|
- },
|
|
|
- data: referencePowerByMeasuringpower
|
|
|
- },{
|
|
|
- name: '参照理论功率(样板机法)',
|
|
|
- type: 'line',
|
|
|
- smooth: true,
|
|
|
- symbol: 'circle',
|
|
|
- symbolSize: 5,
|
|
|
- showSymbol: false,
|
|
|
- lineStyle: {
|
|
|
- normal: {
|
|
|
- width: 2
|
|
|
- }
|
|
|
- },
|
|
|
- areaStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
- offset: 0,
|
|
|
- color: 'rgba(219, 50, 51, 0.3)'
|
|
|
- }, {
|
|
|
- offset: 0.8,
|
|
|
- color: 'rgba(219, 50, 51, 0)'
|
|
|
- }], false),
|
|
|
- shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
- shadowBlur: 10
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
-
|
|
|
- color: cc.ybjf,
|
|
|
- borderColor: 'rgba(219,50,51,0.2)',
|
|
|
- borderWidth: 12
|
|
|
- }
|
|
|
- },
|
|
|
- data: referencePowerBySamplepower
|
|
|
- },{
|
|
|
- name: '参照可用功率(测风、测光法)',
|
|
|
- type: 'line',
|
|
|
- smooth: true,
|
|
|
- symbol: 'circle',
|
|
|
- symbolSize: 5,
|
|
|
- showSymbol: false,
|
|
|
- lineStyle: {
|
|
|
- normal: {
|
|
|
- width: 2
|
|
|
- }
|
|
|
- },
|
|
|
- areaStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
- offset: 0,
|
|
|
- color: 'rgba(219, 50, 51, 0.3)'
|
|
|
- }, {
|
|
|
- offset: 0.8,
|
|
|
- color: 'rgba(219, 50, 51, 0)'
|
|
|
- }], false),
|
|
|
- shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
- shadowBlur: 10
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: cc.kycfgf,
|
|
|
- borderColor: 'rgba(219,50,51,0.2)',
|
|
|
- borderWidth: 12
|
|
|
- }
|
|
|
- },
|
|
|
- data: ablePowerByMeasuringe
|
|
|
- },{
|
|
|
- name: '参照可用功率(样板机法)',
|
|
|
- type: 'line',
|
|
|
- smooth: true,
|
|
|
- symbol: 'circle',
|
|
|
- symbolSize: 5,
|
|
|
- showSymbol: false,
|
|
|
- lineStyle: {
|
|
|
- normal: {
|
|
|
- width: 2
|
|
|
- }
|
|
|
- },
|
|
|
- areaStyle: {
|
|
|
- normal: {
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
- offset: 0,
|
|
|
- color: 'rgba(219, 50, 51, 0.3)'
|
|
|
- }, {
|
|
|
- offset: 0.8,
|
|
|
- color: 'rgba(219, 50, 51, 0)'
|
|
|
- }], false),
|
|
|
- shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
- shadowBlur: 10
|
|
|
- }
|
|
|
- },
|
|
|
- itemStyle: {
|
|
|
- normal: {
|
|
|
- color: cc.kyybjf,
|
|
|
- borderColor: 'rgba(219,50,51,0.2)',
|
|
|
- borderWidth: 12
|
|
|
- }
|
|
|
- },
|
|
|
- data: ablePowerBySample
|
|
|
- })
|
|
|
+ }
|
|
|
+ // {
|
|
|
+ // name: '参照理论功率(测风、测光法)',
|
|
|
+ // type: 'line',
|
|
|
+ // smooth: true,
|
|
|
+ // symbol: 'circle',
|
|
|
+ // symbolSize: 5,
|
|
|
+ // showSymbol: false,
|
|
|
+ // lineStyle: {
|
|
|
+ // normal: {
|
|
|
+ // width: 2
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // areaStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ // offset: 0,
|
|
|
+ // color: 'rgba(219, 50, 51, 0.3)'
|
|
|
+ // }, {
|
|
|
+ // offset: 0.8,
|
|
|
+ // color: 'rgba(219, 50, 51, 0)'
|
|
|
+ // }], false),
|
|
|
+ // shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
+ // shadowBlur: 10
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // itemStyle: {
|
|
|
+ // normal: {
|
|
|
+ //
|
|
|
+ // color: cc.cfgf,
|
|
|
+ // borderColor: 'rgba(219,50,51,0.2)',
|
|
|
+ // borderWidth: 12
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // data: referencePowerByMeasuringpower
|
|
|
+ // },{
|
|
|
+ // name: '参照理论功率(样板机法)',
|
|
|
+ // type: 'line',
|
|
|
+ // smooth: true,
|
|
|
+ // symbol: 'circle',
|
|
|
+ // symbolSize: 5,
|
|
|
+ // showSymbol: false,
|
|
|
+ // lineStyle: {
|
|
|
+ // normal: {
|
|
|
+ // width: 2
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // areaStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ // offset: 0,
|
|
|
+ // color: 'rgba(219, 50, 51, 0.3)'
|
|
|
+ // }, {
|
|
|
+ // offset: 0.8,
|
|
|
+ // color: 'rgba(219, 50, 51, 0)'
|
|
|
+ // }], false),
|
|
|
+ // shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
+ // shadowBlur: 10
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // itemStyle: {
|
|
|
+ // normal: {
|
|
|
+ //
|
|
|
+ // color: cc.ybjf,
|
|
|
+ // borderColor: 'rgba(219,50,51,0.2)',
|
|
|
+ // borderWidth: 12
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // data: referencePowerBySamplepower
|
|
|
+ // },{
|
|
|
+ // name: '参照可用功率(测风、测光法)',
|
|
|
+ // type: 'line',
|
|
|
+ // smooth: true,
|
|
|
+ // symbol: 'circle',
|
|
|
+ // symbolSize: 5,
|
|
|
+ // showSymbol: false,
|
|
|
+ // lineStyle: {
|
|
|
+ // normal: {
|
|
|
+ // width: 2
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // areaStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ // offset: 0,
|
|
|
+ // color: 'rgba(219, 50, 51, 0.3)'
|
|
|
+ // }, {
|
|
|
+ // offset: 0.8,
|
|
|
+ // color: 'rgba(219, 50, 51, 0)'
|
|
|
+ // }], false),
|
|
|
+ // shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
+ // shadowBlur: 10
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // itemStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: cc.kycfgf,
|
|
|
+ // borderColor: 'rgba(219,50,51,0.2)',
|
|
|
+ // borderWidth: 12
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // data: ablePowerByMeasuringe
|
|
|
+ // },{
|
|
|
+ // name: '参照可用功率(样板机法)',
|
|
|
+ // type: 'line',
|
|
|
+ // smooth: true,
|
|
|
+ // symbol: 'circle',
|
|
|
+ // symbolSize: 5,
|
|
|
+ // showSymbol: false,
|
|
|
+ // lineStyle: {
|
|
|
+ // normal: {
|
|
|
+ // width: 2
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // areaStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
+ // offset: 0,
|
|
|
+ // color: 'rgba(219, 50, 51, 0.3)'
|
|
|
+ // }, {
|
|
|
+ // offset: 0.8,
|
|
|
+ // color: 'rgba(219, 50, 51, 0)'
|
|
|
+ // }], false),
|
|
|
+ // shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
+ // shadowBlur: 10
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // itemStyle: {
|
|
|
+ // normal: {
|
|
|
+ // color: cc.kyybjf,
|
|
|
+ // borderColor: 'rgba(219,50,51,0.2)',
|
|
|
+ // borderWidth: 12
|
|
|
+ // }
|
|
|
+ // },
|
|
|
+ // data: ablePowerBySample
|
|
|
+ // }
|
|
|
+ )
|
|
|
}
|
|
|
this.chart.setOption(option,true)
|
|
|
},
|