中间的chart设置宽度
This commit is contained in:
		
							parent
							
								
									712c8abbbe
								
							
						
					
					
						commit
						7289f01132
					
				| 
						 | 
				
			
			@ -199,7 +199,6 @@ const setBar = (serve) => {
 | 
			
		|||
      datasetOption.xAxis.data = Xdata;
 | 
			
		||||
      console.log('🚀 ~ Object.keys ~ Xdata:', Xdata);
 | 
			
		||||
      datasetOption.series[0].data = yData;
 | 
			
		||||
      debugger;
 | 
			
		||||
      myChart.setOption(datasetOption);
 | 
			
		||||
    }
 | 
			
		||||
  });
 | 
			
		||||
| 
						 | 
				
			
			@ -566,6 +565,7 @@ const renderEventChart = () => {
 | 
			
		|||
  usageChart.setOption(usageOption);
 | 
			
		||||
};
 | 
			
		||||
onMounted(() => {
 | 
			
		||||
 | 
			
		||||
  if (designStore.appThemeDetail.cssName == 'theme-blue') {
 | 
			
		||||
    datasetOption.color = ['rgba(0,98,217,0.3)'];
 | 
			
		||||
    datasetOption.series[0].itemStyle.borderColor = 'rgba(0,98,217,1)';
 | 
			
		||||
| 
						 | 
				
			
			@ -596,7 +596,7 @@ onMounted(() => {
 | 
			
		|||
            // debugger
 | 
			
		||||
            handleEchartData(lineNet.value);
 | 
			
		||||
          });
 | 
			
		||||
 | 
			
		||||
           
 | 
			
		||||
        request
 | 
			
		||||
          .get({
 | 
			
		||||
            url: `/y4_sys/y4/main/callCount`,
 | 
			
		||||
| 
						 | 
				
			
			@ -605,7 +605,7 @@ onMounted(() => {
 | 
			
		|||
            },
 | 
			
		||||
          })
 | 
			
		||||
          .then((res2) => {
 | 
			
		||||
            // console.log('🚀 ~ res:', res2);
 | 
			
		||||
            console.log('🚀 ~ res:', res2);
 | 
			
		||||
            serveCall.value = res2;
 | 
			
		||||
            allCallService.value = res2.allCallService;
 | 
			
		||||
            algorithmService.value = res2.algorithmService;
 | 
			
		||||
| 
						 | 
				
			
			@ -1054,6 +1054,7 @@ function switchOption(index) {
 | 
			
		|||
}
 | 
			
		||||
.assets-chart {
 | 
			
		||||
  //   margin-top: -46px;
 | 
			
		||||
    width: 560.5px;
 | 
			
		||||
  height: 244px;
 | 
			
		||||
  z-index: 2;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user