superset/superset-frontend/temporary_superset_ui/superset-ui/temporary-plugins/plugin-chart-choropleth-map
Yongjie Zhao d490ee89b1 chore: fix end-of-file (#1468)
* chore: end of file fixer

* compress image

* lint without build

* lintrc improvment

* exporting

* update parallel-coordinates tsconfig

* add license to md file

* add license

* add eslintignore
2021-11-26 11:47:39 +08:00
..
src chore: refine prettier config as the main repository (#1456) 2021-11-26 11:47:38 +08:00
stories chore: refine prettier config as the main repository (#1456) 2021-11-26 11:47:38 +08:00
test chore: fix end-of-file (#1468) 2021-11-26 11:47:39 +08:00
types chore: add Apache License for superset-ui (#1444) 2021-11-26 11:47:36 +08:00
package.json chore: upgrade to emotion@11 (#1086) 2021-11-26 11:47:07 +08:00
README.md chore: upgrade to emotion@11 (#1086) 2021-11-26 11:47:07 +08:00
tsconfig.json chore: fix end-of-file (#1468) 2021-11-26 11:47:39 +08:00

@superset-ui/plugin-chart-choropleth-map

Version David (path)

This plugin provides Choropleth Map 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 ChoroplethMapChartPlugin from '@superset-ui/plugin-chart-choropleth-map';

new ChoroplethMapChartPlugin().configure({ key: 'choropleth-map' }).register();

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

<SuperChart
  chartType="choropleth-map"
  width={600}
  height={600}
  formData={...}
  queriesData={[{
    data: {...},
  }]}
/>