0.1.0 • Published 4 years ago
plugin-chart-pareto v0.1.0
@superset-ui/legacy-plugin-chart-sankey
This plugin provides Pareto Diagram for Superset.
Usage
Configure key
, which can be any string
, and register the plugin. This key
will be used to lookup this chart throughout the app.
import SankeyChartPlugin from '@superset-ui/legacy-plugin-chart-pareto';
new SankeyChartPlugin()
.configure({ key: 'pareto' })
.register();
Then use it via SuperChart
. See storybook for more details.
<SuperChart
chartType="pareto"
width={600}
height={600}
formData={...}
queryData={{
data: {...},
}}
/>
0.1.0
4 years ago