superset/superset-frontend/temporary_superset_ui/superset-ui/packages/superset-ui-plugin-chart-word-cloud
Krist Wongsuphasawat 86cde58f0f v0.9.5
2021-11-26 11:44:42 +08:00
..
src Add WordCloud plugin (#50) 2021-11-26 11:44:40 +08:00
test Add WordCloud plugin (#50) 2021-11-26 11:44:40 +08:00
types Add WordCloud plugin (#50) 2021-11-26 11:44:40 +08:00
package.json v0.9.5 2021-11-26 11:44:42 +08:00
README.md Add WordCloud plugin (#50) 2021-11-26 11:44:40 +08:00

@superset-ui/plugin-chart-word-cloud

Version David (path)

This plugin provides Word Cloud 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 WordCloudChartPlugin from '@superset-ui/legacy-plugin-chart-word-cloud';

new WordCloudChartPlugin()
  .configure({ key: 'word-cloud' })
  .register();

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

<SuperChart
  chartType="word-cloud"
  chartProps={{
    width: 600,
    height: 600,
    formData: {...},
    payload: {
      data: {...},
    },
  }}
/>