Source/UBCS-WEB/src/components/StatisticsComponent/mixCart.vue
@@ -46,6 +46,9 @@ legend: { data: ["总量", "新增"], left: "center", textStyle: { fontSize: 14 // 调整字体大小 } }, xAxis: { type: "category", @@ -76,13 +79,14 @@ immediate: true, handler(newval, oldval) { if (newval) { const colors = ["#8fef5b", "#db3c3c"]; const colors = ["#2eadd6", "#db3c3c"]; const seriesData = newval.map((data, index) => ({ name: index === 0 ? "总量" : "新增", type: index === 0 ? "bar" : "line", stack: index === 0 ? "总量" : null, data: data.map(value => ({value})), barWidth: 68, label: { show: true, position: "top"