From 87dd0dac9f3533ca7329980e4feda91cdda4457c Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 22 May 2025 14:28:36 +0800 Subject: [PATCH 1/2] fix: option `{ poptip: true } should load `poptipForText` --- packages/vchart/src/core/vchart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vchart/src/core/vchart.ts b/packages/vchart/src/core/vchart.ts index 353dbc919d..c8a2f00c11 100644 --- a/packages/vchart/src/core/vchart.ts +++ b/packages/vchart/src/core/vchart.ts @@ -415,7 +415,7 @@ export class VChart implements IVChart { this._currentSize = this.getCurrentSize(); const pluginList: string[] = []; - if (!poptip !== false) { + if (poptip !== false) { pluginList.push('poptipForText'); } From 55d115bccbd1c56d36cf0f8cb086cb94a3b4ca0f Mon Sep 17 00:00:00 2001 From: xile611 Date: Thu, 22 May 2025 14:32:21 +0800 Subject: [PATCH 2/2] docs: update changlog of rush --- .../fix-poptip-plugin-option_2025-05-22-06-32.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@visactor/vchart/fix-poptip-plugin-option_2025-05-22-06-32.json diff --git a/common/changes/@visactor/vchart/fix-poptip-plugin-option_2025-05-22-06-32.json b/common/changes/@visactor/vchart/fix-poptip-plugin-option_2025-05-22-06-32.json new file mode 100644 index 0000000000..7a5707e03f --- /dev/null +++ b/common/changes/@visactor/vchart/fix-poptip-plugin-option_2025-05-22-06-32.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "comment": "fix: option `{ poptip: true } should load `poptipForText`\n\n", + "type": "none", + "packageName": "@visactor/vchart" + } + ], + "packageName": "@visactor/vchart", + "email": "dingling112@gmail.com" +} \ No newline at end of file