[Frontend][系統監控] zoom 微調
This commit is contained in:
		
							parent
							
								
									f8cc6bd193
								
							
						
					
					
						commit
						7b14f43f05
					
				@ -133,7 +133,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    function initChart() {
 | 
					    function initChart() {
 | 
				
			||||||
        let chartDom = $("#floChart")[0];
 | 
					        let chartDom = $("#floChart")[0];
 | 
				
			||||||
        floChart = echarts.init(chartDom, null, { width: 'auto' });
 | 
					        floChart = echarts.init(chartDom, null, { width: 'auto'});
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    function chartHandler(url) {
 | 
					    function chartHandler(url) {
 | 
				
			||||||
@ -169,11 +169,11 @@
 | 
				
			|||||||
                    roam: true,
 | 
					                    roam: true,
 | 
				
			||||||
                    scaleLimit: {  //限制放大縮小倍數
 | 
					                    scaleLimit: {  //限制放大縮小倍數
 | 
				
			||||||
                        max: 32,
 | 
					                        max: 32,
 | 
				
			||||||
                        min: 2.5
 | 
					                        min: 1
 | 
				
			||||||
                    },
 | 
					                    },
 | 
				
			||||||
                    layoutSize: '100%',
 | 
					                    layoutSize: '100%',
 | 
				
			||||||
                    layoutCenter: [],
 | 
					                    layoutCenter: [],
 | 
				
			||||||
                    zoom: 2.5,
 | 
					                    zoom: 1.2,
 | 
				
			||||||
                    silent: true
 | 
					                    silent: true
 | 
				
			||||||
                },
 | 
					                },
 | 
				
			||||||
                series: [
 | 
					                series: [
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user