superset/superset-frontend/temporary_superset_ui/superset-ui/plugins/plugin-chart-word-cloud
Ville Brofeldt 54b0df5421 feat: add control grouping functionality (#485)
* feat: add control grouping functionality

* implement controlGroups on WordCloud

* fix tests

* break up into smaller packages and add unit tests

* fix test

* address comments

* rename controlGroup to queryField

* move import

* fix word cloud test

* fix a few remaining references to control groups

* Rename funcs

* Simplify extractQueryFields

* fix
2021-11-26 11:46:18 +08:00
..
src feat: add control grouping functionality (#485) 2021-11-26 11:46:18 +08:00
test feat: add control grouping functionality (#485) 2021-11-26 11:46:18 +08:00
types feat(preset-chart-xy): migrate from plugins repo (#377) 2021-11-26 11:46:07 +08:00
package.json chore: publish v0.13.13 2021-11-26 11:46:16 +08:00
README.md feat(preset-chart-xy): migrate from plugins repo (#377) 2021-11-26 11:46:07 +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"
  width={600}
  height={600}
  formData={...}
  queryData={{
    data: {...},
  }}
/>