@mcdevsl/mc-superset-ui
Version:
34 lines (25 loc) • 1.23 kB
Markdown
## @superset-ui/legacy-plugin-chart-paired-t-test
[](hhttps://www.npmjs.com/package/@superset-ui/legacy-plugin-chart-paired-t-test)
[](https://david-dm.org/apache-superset/superset-ui-plugins?path=packages/superset-ui-legacy-plugin-chart-paired-t-test)
This plugin provides Paired T Test 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.
```js
import PairedTTestChartPlugin from '@superset-ui/legacy-plugin-chart-paired-t-test';
new PairedTTestChartPlugin().configure({ key: 'paired-t-test' }).register();
```
Then use it via `SuperChart`. See
[storybook](https://apache-superset.github.io/superset-ui-plugins/?selectedKind=plugin-chart-paired-t-test)
for more details.
```js
<SuperChart
chartType="paired-t-test"
width={600}
height={600}
formData={...}
queriesData={[{
data: {...},
}]}
/>
```