diff --git a/app/chengji/view/bjtongji/biaoge.html b/app/chengji/view/bjtongji/biaoge.html index 17341c97..ea90f736 100755 --- a/app/chengji/view/bjtongji/biaoge.html +++ b/app/chengji/view/bjtongji/biaoge.html @@ -327,7 +327,12 @@ dataset: { source:data.data }, - xAxis: {type: 'category'}, + xAxis: { + type: 'category', + axisLabel: { + rotate:30 + } + }, yAxis: {}, dataZoom: [ { diff --git a/app/tools/model/OneStudentChengji.php b/app/tools/model/OneStudentChengji.php index 9176430b..52e82734 100755 --- a/app/tools/model/OneStudentChengji.php +++ b/app/tools/model/OneStudentChengji.php @@ -523,6 +523,7 @@ class OneStudentChengji extends BaseModel 'xAxis' => [ 'type' => 'value' ,'data' => '' + ,'scale' => true ] ,'yAxis' => [ 'type' => 'category' @@ -535,7 +536,7 @@ class OneStudentChengji extends BaseModel ,'type' => 'bar' ,'label' => [ 'show' => true - ,'position'=>'insideRight' // 在上方显示 + ,'position'=>'right' // 在上方显示 ,'textStyle' => [ 'color' => 'black', 'fontSize' => 12