superset/superset-frontend/temporary_superset_ui/superset-ui/plugins/superset-ui-plugins/packages/superset-ui-plugin-chart-word-cloud
Krist Wongsuphasawat 6686d14111 v0.10.41
2021-11-26 11:45:44 +08:00
..
src fix: word cloud import bug (#65) 2021-11-26 11:45:29 +08:00
test fix: 🐛 broken unit test due to missing babel-polyfill 2021-11-26 11:45:21 +08:00
types rename demo package 2021-11-26 11:45:20 +08:00
package.json v0.10.41 2021-11-26 11:45:44 +08:00
README.md docs: ✏️ update link from superset-ui-legacy to ui-plugins 2021-11-26 11:45:22 +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: {...},
    },
  }}
/>