| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -14,12 +14,14 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					<script> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import * as echarts from "echarts"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { lineChartOption } from "./chart" | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					import { cloneDeep } from "lodash"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					export default { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  name: 'LineChart', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  mounted() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const chartIns = echarts.init(this.$refs.LineChartRef); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    chartIns.setOption(lineChartOption); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    const options = cloneDeep(lineChartOption); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    options.tooltip.formatter = "{b}:{c}(辆)"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    chartIns.setOption(options); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					  }, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					</script> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |