diff --git a/project/biaopin/dv/weiyang/AppWeiyangDv.vue b/project/biaopin/dv/weiyang/AppWeiyangDv.vue index 4f6b6250..24c5c9e1 100644 --- a/project/biaopin/dv/weiyang/AppWeiyangDv.vue +++ b/project/biaopin/dv/weiyang/AppWeiyangDv.vue @@ -61,7 +61,7 @@ const integralOrder = { yAxis: { type: "category", inverse: true, axisLine: hide, axisTick: hide, axisPointer: hide, axisLabel: { - showMaxLabel: true, align: 'left', margin:65, + showMaxLabel: true, align: 'left', margin: 65, color: "#9CB3C9", formatter: (name, index) => { const icon = { 0: "🥇", 1: "🥈", 2: "🥉", @@ -585,6 +585,9 @@ export default { }, areaId() { this.getData() + }, + isLastAreaLevel(v) { + this.chart.integralOrder.series.label.position[0] = v ? 760 : 390 } }, methods: {