Browse Source

再调整

cxmo 1 year ago
parent
commit
7f89545d9a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/hooks/chart/render.js

+ 2 - 0
src/hooks/chart/render.js

@@ -765,6 +765,8 @@ function setSeasonOpt(e){
         legend:{
             enabled:true,
             verticalAlign: 'top',
+            y:-10,
+            x:(10 * data.Unit.length)/2
         }
     }
 }