From 1ed7f9189f6d24d8b6665c56c870528709b8ae56 Mon Sep 17 00:00:00 2001 From: xiaoluoHe Date: Sun, 26 Jan 2025 14:22:44 +0800 Subject: [PATCH] fix: incorrect update animation of funnel transform mark --- .../@visactor/vchart/develop_2025-01-26-06-21.json | 10 ++++++++++ packages/vchart/src/series/funnel/funnel.ts | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 common/changes/@visactor/vchart/develop_2025-01-26-06-21.json diff --git a/common/changes/@visactor/vchart/develop_2025-01-26-06-21.json b/common/changes/@visactor/vchart/develop_2025-01-26-06-21.json new file mode 100644 index 0000000000..350e4e046d --- /dev/null +++ b/common/changes/@visactor/vchart/develop_2025-01-26-06-21.json @@ -0,0 +1,10 @@ +{ + "changes": [ + { + "packageName": "@visactor/vchart", + "comment": "fix: incorrect update animation of funnel transform mark, #3685", + "type": "none" + } + ], + "packageName": "@visactor/vchart" +} \ No newline at end of file diff --git a/packages/vchart/src/series/funnel/funnel.ts b/packages/vchart/src/series/funnel/funnel.ts index c22927c9b4..52d0b77fa7 100644 --- a/packages/vchart/src/series/funnel/funnel.ts +++ b/packages/vchart/src/series/funnel/funnel.ts @@ -207,7 +207,7 @@ export class FunnelSeries }, { themeSpec: this._theme?.transform, - skipBeforeLayouted: false, + skipBeforeLayouted: true, dataView: this._viewDataTransform.getDataView(), dataProductId: this._viewDataTransform.getProductId(), stateSort: this._spec.transform?.stateSort,