superset/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-sankey-loop/README.md
Krist Wongsuphasawat 81ca3b9801 feat: migrate chart plugins (#375)
* feat(legacy-plugin-chart-rose): migrate package and lint

* feat(legacy-plugin-chart-sankey): migrate

* feat(legacy-plugin-chart-sankey-loop): migrate

* feat(legacy-plugin-chart-sunburst): migrate and lint

* feat(legacy-plugin-chart-treemap): migrate

* feat(legacy-plugin-chart-world-map): migrate

* docs: update storybooks

* feat(legacy-plugin-chart-force-directed): migrate and lint

* feat(legacy-plugin-chart-map-box): migrate and lint

* feat(legacy-plugin-chart-histogram): migrate and lint

* docs: update storybooks
2021-11-26 11:46:06 +08:00

1.2 KiB

@superset-ui/legacy-plugin-chart-sankey-loop

Version David (path)

This plugin provides Sankey Diagram with loops 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 SankeyLoopChartPlugin from '@superset-ui/legacy-plugin-chart-sankey-loop';

new SankeyLoopChartPlugin()
  .configure({ key: 'sankey' })
  .register();

Then use it via SuperChart. See storybook for more details.

<SuperChart
  chartType="sankey-loop"
  width={600}
  height={600}
  formData={...}
  queryData={{
    data: {...},
  }}
/>