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()