迁移大屏UI库和应用
This commit is contained in:
		
							
								
								
									
										33
									
								
								project/dvui/components/AiEchart/template/bar/barChart3.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								project/dvui/components/AiEchart/template/bar/barChart3.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| export default { | ||||
|   legend: {show: false}, | ||||
|   yAxis: { | ||||
|     nameGap: 23, minInterval: 1, | ||||
|     splitLine: {lineStyle: {color: 'rgba(255,255,255,.2)', type: 'dashed'}}, | ||||
|     axisLabel: {color: '#fff'}, axisPointer: {show: false} | ||||
|   }, | ||||
|   axisPointer: { | ||||
|     type: 'none', show: true, triggerTooltip: false, | ||||
|   }, | ||||
|   daemon: { | ||||
|     type: 'bar', label: {show: true, position: 'insideBottom', color: '#fff'}, | ||||
|     barWidth: 24, | ||||
|     showBackground: true, | ||||
|     backgroundStyle: { | ||||
|       color: 'rgba(123, 165, 255, .2)' | ||||
|     }, | ||||
|     itemStyle: { | ||||
|       color: { | ||||
|         type: 'linear', x: 0, x2: 0, y: 0, y2: 1, | ||||
|         colorStops: [{offset: 0, color: '#42BBFF'}, {offset: 1, color: 'rgba(37, 143, 255, 0.2)'}] | ||||
|       } | ||||
|     }, | ||||
|     emphasis: { | ||||
|       itemStyle: { | ||||
|         color: { | ||||
|           type: 'linear', x: 0, x2: 0, y: 0, y2: 1, | ||||
|           colorStops: [{offset: 0, color: '#42FFFE'}, {offset: 1, color: 'rgba(37, 255, 246, 0.2)'}] | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user