Skip to content

Commit 95088d8

Browse files
committed
fix: fix update of custom mark
1 parent e2a7440 commit 95088d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vchart/src/component/custom-mark/custom-mark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class CustomMark extends BaseComponent<ICustomMarkSpec<EnableMarkType>> {
116116
if (dataview) {
117117
mark.setDataView(dataview);
118118
dataview.target.addListener('change', () => {
119-
mark.commit();
119+
mark.getData().updateData();
120120
});
121121
}
122122
}

0 commit comments

Comments
 (0)