Jelajahi Sumber

ppt图表刻度又调整

Karsa 8 bulan lalu
induk
melakukan
6c7eb60150
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      src/views/ppt_manage/mixins/pptMixins.js

+ 2 - 2
src/views/ppt_manage/mixins/pptMixins.js

@@ -567,8 +567,8 @@ export default {
           
           let tickInterval = undefined;
           if((modelId!==1&&MyChartType===2) 
-            || ([1,4,6].includes(MyChartType)&&[10,12].includes(modelId))) {
-              tickInterval = (Math.max(...maxData)-Math.min(...minData))/4;
+          || ([1,4,6].includes(MyChartType)&&[10,12].includes(modelId))) {
+              tickInterval = (Math.max(...maxData)-Math.min(...minData))/6;
           }