Skip to content

Commit

Permalink
fix: indicator should show when switch visible, fix #3675
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Jan 26, 2025
1 parent 4d720b4 commit 5ba04bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/vchart/src/chart/base/base-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,8 @@ export class BaseChart<T extends IChartSpec> extends CompilableBase implements I
const checkVisibleComponents: Record<string, boolean> = {
[ComponentTypeEnum.title]: true,
[ComponentTypeEnum.brush]: true,
[ComponentTypeEnum.mapLabel]: true
[ComponentTypeEnum.mapLabel]: true,
[ComponentTypeEnum.indicator]: true
};

this._components.forEach(c => {
Expand Down

0 comments on commit 5ba04bd

Please sign in to comment.