mirror of
https://github.com/apache/superset.git
synced 2024-09-19 20:19:37 -04:00
1e6c0d29f7
* chore: add new plugin metadata * inital commit * capitalization * Update plugins/legacy-plugin-chart-calendar/src/index.js * Update plugins/legacy-preset-chart-big-number/src/BigNumber/index.ts * Update plugins/legacy-plugin-chart-histogram/src/index.js * edits * Update plugins/legacy-preset-chart-nvd3/src/Bar/index.js * fix: single quote * Update plugins/legacy-preset-chart-big-number/src/BigNumber/index.ts Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> * Update plugins/legacy-preset-chart-nvd3/src/Bullet/index.js Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com> Co-authored-by: Evan Rusackas <evan@preset.io> Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com> |
||
---|---|---|
.. | ||
src | ||
package.json | ||
README.md | ||
tsconfig.json |
@superset-ui/legacy-plugin-chart-histogram
This plugin provides Histogram 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 HistogramChartPlugin from '@superset-ui/legacy-plugin-chart-histogram';
new HistogramChartPlugin().configure({ key: 'histogram' }).register();
Then use it via SuperChart
. See
storybook
for more details.
<SuperChart
chartType="histogram"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>