From f35c272a1993a7041767d60c630763e6470ece7e Mon Sep 17 00:00:00 2001 From: aixianling Date: Sun, 29 Sep 2024 14:51:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=A7=AF=E5=88=86=E6=8E=92?= =?UTF-8?q?=E5=90=8D=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/biaopin/dv/weiyang/AppWeiyangDv.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: {