0.0.4 • Published 5 years ago
@switchdin-superset/big-number-image v0.0.4
@switchdin-superset-plugins/BigNumberImage
SwitchDin extension to superset visualisations.
BigNumber with an image.
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 TableChartPlugin from '@superset-ui/legacy-plugin-chart-table';
new TableChartPlugin()
.configure({ key: 'table' })
.register();
Then use it via SuperChart
. See storybook for more details.
<SuperChart
chartType="table"
chartProps={{
width: 600,
height: 600,
formData: {...},
payload: {
data: {...},
},
}}
/>