src/views/cockpitPage/components/BarChart.vue
@@ -84,7 +84,7 @@ let spirit = "/cockpitPage/order-bg.png"; if (data) { option = { color: ["#dcb018", "#00FFFF"], color: ["#fccd1d", "#00FFFF"], tooltip: { trigger: "axis", axisPointer: { @@ -153,7 +153,7 @@ name: "正品数量", icon: "circle", textStyle: { color: "#dcb018", color: "#fccd1d", }, }, { @@ -278,13 +278,13 @@ }, { type: "pictorialBar", barGap: "10%", name: "次品数量", symbol: spirit, symbolRepeat: true, symbolMargin: "25%", symbolClip: true, symbolSize: [17, 4], barCategoryGap: "40%", data: data.datay2, }, ],