From 5ba04bd5e0dae85dab397634d0ed328128a97cff Mon Sep 17 00:00:00 2001 From: xile611 Date: Sun, 26 Jan 2025 14:34:10 +0800 Subject: [PATCH] fix: indicator should show when switch `visible`, fix #3675 --- packages/vchart/src/chart/base/base-chart.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/vchart/src/chart/base/base-chart.ts b/packages/vchart/src/chart/base/base-chart.ts index 58e69de75c..a96c91f953 100644 --- a/packages/vchart/src/chart/base/base-chart.ts +++ b/packages/vchart/src/chart/base/base-chart.ts @@ -876,7 +876,8 @@ export class BaseChart extends CompilableBase implements I const checkVisibleComponents: Record = { [ComponentTypeEnum.title]: true, [ComponentTypeEnum.brush]: true, - [ComponentTypeEnum.mapLabel]: true + [ComponentTypeEnum.mapLabel]: true, + [ComponentTypeEnum.indicator]: true }; this._components.forEach(c => {