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;
```

preset.js
```
import barPlugin from './barPlugin';
...
plugins: [barPlugin]
...
```

[ Full content available at: 
https://github.com/apache/incubator-superset/pull/6028 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to