superset/superset-frontend/plugins/legacy-preset-chart-deckgl
Kamil Gabryjelski d26ea980ac
feat: Add line width unit control in deckgl Polygon and Path (#24755)
2023-07-27 18:41:50 +02:00
..
src feat: Add line width unit control in deckgl Polygon and Path (#24755) 2023-07-27 18:41:50 +02:00
test/utils refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
types feat: Add deck.gl Heatmap Visualization (#23551) 2023-05-22 10:23:07 +03:00
README.md refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
package.json docs: cleanup references to `apache-superset/superset-ui` (#23796) 2023-04-25 09:18:27 -06:00
tsconfig.json refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00

README.md

@superset-ui/legacy-preset-chart-deckgl

Version David (path)

This plugin provides deck.gl for Superset.

Usage

Import the preset and register. This will register all the chart plugins under deck.gl.

import { DeckGLChartPreset } from '@superset-ui/legacy-preset-chart-deckgl';

new DeckGLChartPreset().register();

or register charts one by one. Configure key, which can be any string, and register the plugin. This key will be used to lookup this chart throughout the app.

import { ArcChartPlugin } from '@superset-ui/legacy-preset-chart-deckgl';

new ArcChartPlugin().configure({ key: 'deck_arc' }).register();

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

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