We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd92b91 commit b3ec890Copy full SHA for b3ec890
src/apps/weblib/js-api/data.js
@@ -269,10 +269,7 @@ export default class Data {
269
this.chart.module.removeFunction(callbackPtrs[1]);
270
};
271
callbackPtrs.push(this.chart.module.addFunction(deleter, "vi"));
272
- this.chart._call(this.chart.module._chart_setFilter)(
273
- callbackPtrs[0],
274
- callbackPtrs[1]
275
- );
+ this.chart._call(this.chart.module._chart_setFilter)(...callbackPtrs);
276
} else if (filter === null) {
277
this.chart._call(this.chart.module._chart_setFilter)(0, 0);
278
} else {
0 commit comments