1.0.0 • Published 4 years ago

@galactica-ui/legacy-plugin-chart-map-box v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

@galactica-ui/legacy-plugin-chart-map-box

Version David (path)

This plugin provides MapBox 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 MapBoxChartPlugin from '@galactica-ui/legacy-plugin-chart-map-box';

new MapBoxChartPlugin()
  .configure({ key: 'map-box' })
  .register();

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

<SuperChart
  chartType="map-box"
  width={600}
  height={600}
  formData={...}
  queryData={{
    data: {...},
  }}
/>