1.0.0 • Published 4 years ago
@galactica-ui/legacy-plugin-chart-map-box v1.0.0
@galactica-ui/legacy-plugin-chart-map-box
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: {...},
}}
/>
1.0.0
4 years ago