Umm, actually can't, because each vis will declare the ChartPlugin instance and export, so the preset only have access to the instance.
barPlugin.js ```js const plugin = new ChartPlugin(...); export default plugin; ``` [ Full content available at: https://github.com/apache/incubator-superset/pull/6028 ] This message was relayed via gitbox.apache.org for devnull@infra.apache.org