superset/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-rose/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.1 KiB

@superset-ui/legacy-plugin-chart-rose

Version David (path)

This plugin provides Nightingale Rose 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 RoseChartPlugin from '@superset-ui/legacy-plugin-chart-rose';

new RoseChartPlugin()
  .configure({ key: 'rose' })
  .register();

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

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