src/components/BarGraphAxisLine.vue
@@ -91,6 +91,10 @@ document.getElementById("myEchartsBIG"), "purple-passion" ); var val = xAxisData.value.filter(res=>{ return res /1000; }) debugger chart.setOption({ title: { text: "", @@ -159,8 +163,8 @@ }, xAxis: { type: "category", data: xAxisData.value, name: "米(m)", data:val, name: "千米(KM)", axisLabel: { //x轴文字的配置 showMinLabel: true, // 强制显示最小值标签