plugin-chart-custom-big-number
v1.0.12
Published
Superset Chart - Echarts
Downloads
327
Readme
@superset-ui/plugin-chart-custom-big-number
This plugin provides Big Number viz plugins 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 {
BigNumberWithTrendlineChartPluginExtended,
BigNumberTotalChartPluginExtended }
from 'plugin-chart-custom-big-number';
new BigNumberWithTrendlineChartPluginExtended().configure({key: 'big_number_extended'}).register();
new BigNumberTotalChartPluginExtended().configure({key: 'big_number_total_extended'}),
Then use it via SuperChart
. See
storybook
for more details.
<SuperChart
chartType="echarts-ts"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>