田源
2023-11-24 338a92c9e5b28d61017c9ca5d77fe93e2dd0b013
Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue
@@ -37,7 +37,10 @@
            stack: "Total",
            label: {
              show: true,
              position: "top"
              position: "top",
              textStyle: {
                fontSize: 14 // 调整字体大小
              }
            },
            data: data.map(value => ({value}))
          }));
@@ -67,15 +70,18 @@
          trigger: 'axis'
        },
        legend: {
          data: ['总量', '新增']
          data: ['总量', '新增'],
          textStyle: {
            fontSize: 14 // 调整字体大小
          }
        },
        xAxis: {
          boundaryGap: true,
          type: 'category',
          data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']
          data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
        },
        yAxis: {
          type: 'value'
          type: 'value',
        },
        series: []
      }