1.0.0 • Published 4 years ago

@galactica-ui/legacy-plugin-chart-iframe v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
4 years ago

@galactica-ui/legacy-plugin-chart-iframe

Version David (path)

This plugin provides Iframe 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 IframeChartPlugin from '@galactica-ui/legacy-plugin-chart-iframe';

new IframeChartPlugin()
  .configure({ key: 'iframe' })
  .register();

Then use it via SuperChart. See storybook for more details.

<SuperChart
  chartType="iframe"
  width={600}
  height={600}
  formData={...}
  queryData={{
    data: {...},
  }}
/>
1.0.0

4 years ago