superset/superset-frontend/plugins/legacy-preset-chart-deckgl
Cody Leff 84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
..
src fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673) 2022-07-19 13:53:55 -03:00
test/utils refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
types refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
README.md refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
package.json fix: deck.gl GeoJsonLayer Autozoom & fill/stroke options (#19778) 2022-04-26 16:25:40 -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: {...},
  }]}
/>