Skip to content

Commit 18fa373

Browse files
authored
Merge pull request #3983 from VisActor/fix/poptip-plugin-option
Fix/poptip plugin option
2 parents d456af4 + 55d115b commit 18fa373

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"comment": "fix: option `{ poptip: true } should load `poptipForText`\n\n",
5+
"type": "none",
6+
"packageName": "@visactor/vchart"
7+
}
8+
],
9+
"packageName": "@visactor/vchart",
10+
"email": "dingling112@gmail.com"
11+
}

packages/vchart/src/core/vchart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ export class VChart implements IVChart {
415415
this._currentSize = this.getCurrentSize();
416416
const pluginList: string[] = [];
417417

418-
if (!poptip !== false) {
418+
if (poptip !== false) {
419419
pluginList.push('poptipForText');
420420
}
421421

0 commit comments

Comments
 (0)