| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -273,6 +273,7 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      if (chartRef) { | 
					 | 
					 | 
					 | 
					      if (chartRef) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        // 初始化图表的代码 | 
					 | 
					 | 
					 | 
					        // 初始化图表的代码 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.chartInstance = echarts.init(this.$refs.chart_ref); | 
					 | 
					 | 
					 | 
					        this.chartInstance = echarts.init(this.$refs.chart_ref); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        const titleFontSize = this.$refs.chart_ref.offsetWidth / 130; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        this.option = { | 
					 | 
					 | 
					 | 
					        this.option = { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          tooltip: { | 
					 | 
					 | 
					 | 
					          tooltip: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            trigger: "axis", | 
					 | 
					 | 
					 | 
					            trigger: "axis", | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -312,12 +313,16 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              } | 
					 | 
					 | 
					 | 
					              } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              return res; | 
					 | 
					 | 
					 | 
					              return res; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }, | 
					 | 
					 | 
					 | 
					            }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            textStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              fontSize: titleFontSize * 1.5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          }, | 
					 | 
					 | 
					 | 
					          }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          legend: { | 
					 | 
					 | 
					 | 
					          legend: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            show: true, | 
					 | 
					 | 
					 | 
					            show: true, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            top: 0, | 
					 | 
					 | 
					 | 
					            top: 0, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            textStyle: { | 
					 | 
					 | 
					 | 
					            textStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              color: "white", | 
					 | 
					 | 
					 | 
					              color: "white", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              fontSize: titleFontSize * 1.5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }, | 
					 | 
					 | 
					 | 
					            }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          }, | 
					 | 
					 | 
					 | 
					          }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					          grid: { | 
					 | 
					 | 
					 | 
					          grid: { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -336,6 +341,9 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // interval: 0, //强制显示所有x轴数据 | 
					 | 
					 | 
					 | 
					              // interval: 0, //强制显示所有x轴数据 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // rotate: 30, //x轴坐标字体倾斜30度 | 
					 | 
					 | 
					 | 
					              // rotate: 30, //x轴坐标字体倾斜30度 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              color: "rgba(255, 255, 255, 1)", | 
					 | 
					 | 
					 | 
					              color: "rgba(255, 255, 255, 1)", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              textStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                fontSize: titleFontSize * 1.5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					              }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }, | 
					 | 
					 | 
					 | 
					            }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            axisTick: { | 
					 | 
					 | 
					 | 
					            axisTick: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              show: false, // 不显示坐标轴刻度线 | 
					 | 
					 | 
					 | 
					              show: false, // 不显示坐标轴刻度线 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -363,13 +371,16 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 设置 name 的样式 | 
					 | 
					 | 
					 | 
					              // 设置 name 的样式 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              nameTextStyle: { | 
					 | 
					 | 
					 | 
					              nameTextStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                fontSize: 12, | 
					 | 
					 | 
					 | 
					                fontSize: titleFontSize * 2, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              }, | 
					 | 
					 | 
					 | 
					              }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              miniInterval: 5, | 
					 | 
					 | 
					 | 
					              miniInterval: 5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              type: "value", | 
					 | 
					 | 
					 | 
					              type: "value", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 修饰刻度标签的颜色即y坐标数据 | 
					 | 
					 | 
					 | 
					              // 修饰刻度标签的颜色即y坐标数据 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              axisLabel: { | 
					 | 
					 | 
					 | 
					              axisLabel: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                textStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  fontSize: titleFontSize * 1.5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              }, | 
					 | 
					 | 
					 | 
					              }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 显示y坐标轴 | 
					 | 
					 | 
					 | 
					              // 显示y坐标轴 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              axisLine: { | 
					 | 
					 | 
					 | 
					              axisLine: { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -396,18 +407,17 @@ export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 设置 name 的样式 | 
					 | 
					 | 
					 | 
					              // 设置 name 的样式 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              nameTextStyle: { | 
					 | 
					 | 
					 | 
					              nameTextStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                fontSize: 12, | 
					 | 
					 | 
					 | 
					                fontSize: titleFontSize * 1.5, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              }, | 
					 | 
					 | 
					 | 
					              }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              miniInterval: 5, | 
					 | 
					 | 
					 | 
					              miniInterval: 5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              type: "value", | 
					 | 
					 | 
					 | 
					              type: "value", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              name: "负载", // y 轴的单位描述 | 
					 | 
					 | 
					 | 
					              name: "负载", // y 轴的单位描述 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 修饰刻度标签的颜色即y坐标数据 | 
					 | 
					 | 
					 | 
					              // 修饰刻度标签的颜色即y坐标数据 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              axisLabel: { | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                color: "#ffffff", | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              }, | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 修饰刻度标签的颜色即y坐标数据 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              axisLabel: { | 
					 | 
					 | 
					 | 
					              axisLabel: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
					 | 
					 | 
					 | 
					                color: "rgba(255, 255, 255, 1)", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                textStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                  fontSize: titleFontSize * 1.5, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              }, | 
					 | 
					 | 
					 | 
					              }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              // 显示y坐标轴 | 
					 | 
					 | 
					 | 
					              // 显示y坐标轴 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					              axisLine: { | 
					 | 
					 | 
					 | 
					              axisLine: { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |