superset/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-plugin-chart-histogram
David Aaron Suddjian 1e6c0d29f7 chore: Add new plugin metadata (#1179)
* 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>
2021-11-26 11:47:13 +08:00
..
src chore: Add new plugin metadata (#1179) 2021-11-26 11:47:13 +08:00
package.json chore: publish v0.17.58 2021-11-26 11:47:13 +08:00
README.md chore(core): remove queryData and replace with queriesData (#874) 2021-11-26 11:46:47 +08:00
tsconfig.json build: enable skipLibCheck for tsc (#769) 2021-11-26 11:46:39 +08:00

@superset-ui/legacy-plugin-chart-histogram

Version David (path)

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: {...},
  }]}
/>