From 0054074a82aad918654a67973b5bee6cabe778aa Mon Sep 17 00:00:00 2001 From: zhangyu Date: Thu, 25 Apr 2024 14:23:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E9=80=89=E6=8B=A9Series=E5=90=8EY=E8=BD=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/chart/chart/uplot/chartTimeSeries.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue index bf3a18d2a..2d01b61e2 100644 --- a/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue +++ b/nezha-fronted/src/components/chart/chart/uplot/chartTimeSeries.vue @@ -568,6 +568,9 @@ export default { this.$refs.legend.isGrey = this.isGrey = arr } } + if (this.isStack) { + this.seriesDataChange(arr) + } this.renderYaxis() this.clickout() }, @@ -589,6 +592,9 @@ export default { this.$refs.legend.isGrey = arr } } + if (this.isStack) { + this.seriesDataChange(arr) + } this.renderYaxis() this.clickout()