zs пре 2 година
родитељ
комит
aa9504b7e0
1 измењених фајлова са 6 додато и 1 уклоњено
  1. 6 1
      pages/stuAdmin/study/list.js

+ 6 - 1
pages/stuAdmin/study/list.js

@@ -104,7 +104,12 @@ Page({
                         {
                         {
                             type: 'category',
                             type: 'category',
                             boundaryGap: false,
                             boundaryGap: false,
-                            //设置x轴线的属性
+                            // 设置x轴线的属性
+                            axisLabel: {
+                                //x轴文字的配置
+                                show: true,
+                                interval: 0,//使x轴文字显示全
+                            },
                             axisLine: {
                             axisLine: {
                                 lineStyle: {
                                 lineStyle: {
                                     color: '#4CA6A3', // 设置x轴字体颜色
                                     color: '#4CA6A3', // 设置x轴字体颜色