superset/superset-frontend/plugins/legacy-preset-chart-deckgl
Đỗ Trọng Hải 19e8a7049b
feat(fe): upgrade `superset-frontend` to Typescript v5 (#31979)
Signed-off-by: hainenber <dotronghai96@gmail.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2025-01-29 08:40:33 -03:00
..
src feat(fe): upgrade `superset-frontend` to Typescript v5 (#31979) 2025-01-29 08:40:33 -03:00
test/utils chore: Refactor deck.gl plugins to Typescript (#24933) 2023-08-28 13:56:06 +02:00
types feat: Add Deck.gl Contour Layer (#24154) 2023-10-10 11:20:37 +02:00
CHANGELOG.md build(packages): npm build/publish improvements. Making packages publishable again. (#30196) 2024-12-10 16:54:41 -07:00
README.md docs: replace broken david badges with libraries.io (#27903) 2024-04-04 23:00:23 -06:00
package.json refactor: Upgrade to React 17 (#31961) 2025-01-28 16:44:42 +01: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 Libraries.io

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: {...},
  }]}
/>