src/views/cockpitPage/components/MaterialChart.vue
@@ -55,6 +55,7 @@ myChart = echarts.init(chartDom); let option; let lineColor = "#35ddc74d"; let spirit = "/cockpitPage/order-bg.png"; if (data) { option = { color: ["#00FFFF", "#dcb018"], @@ -100,6 +101,7 @@ yAxis: [ { type: "category", inverse: true, axisTick: { show: false, }, @@ -176,9 +178,14 @@ ], series: [ { type: "bar", type: "pictorialBar", name: "", barWidth: "15", symbol: spirit, symbolRepeat: true, symbolMargin: "25%", symbolClip: true, symbolSize: [4, 11], barCategoryGap: "40%", itemStyle: { normal: { //柱形图圆角,初始化效果