田源
2023-11-24 338a92c9e5b28d61017c9ca5d77fe93e2dd0b013
整合代码
已修改3个文件
20 ■■■■ 文件已修改
Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/StatisticsComponent/lineChart.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Source/UBCS-WEB/src/components/StatisticsComponent/ColumnarChart.vue
@@ -108,6 +108,9 @@
        legend: {
          data: ["总量", "新增"],
          left: "center",
          textStyle: {
            fontSize: 14 // 调整字体大小
          }
        },
        xAxis: {
          type: "category",
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: []
      }
Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue
@@ -46,6 +46,9 @@
        legend: {
          data: ["总量", "新增"],
          left: "center",
          textStyle: {
            fontSize: 14 // 调整字体大小
          }
        },
        xAxis: {
          type: "category",