jwyu 2 years ago
parent
commit
d0ab2dbb3a
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/views/hzyb/chart/positionAnalysis/components/ChartBox.vue

+ 4 - 1
src/views/hzyb/chart/positionAnalysis/components/ChartBox.vue

@@ -23,6 +23,9 @@ const chartDefaultOpts={
             dataLabels: {
             dataLabels: {
                 enabled: true,
                 enabled: true,
                 inside:true,
                 inside:true,
+                // overflow:'allow',
+                // crop:false,
+                // y:-100,
                 formatter:function(e){
                 formatter:function(e){
                     return this.point.options.isLabel
                     return this.point.options.isLabel
                 }
                 }
@@ -55,7 +58,7 @@ function chartRender(){
     }
     }
     let yAxis={
     let yAxis={
         opposite:true,
         opposite:true,
-        gridLineWidth: 0,
+        gridLineWidth: 1,
         endOnTick: false,
         endOnTick: false,
         showLastLabel: true,
         showLastLabel: true,
         lineWidth: 1,
         lineWidth: 1,