Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
feat(legacy-plugin-chart-paired-t-test): migrate from another repo
Browse files Browse the repository at this point in the history
  • Loading branch information
kristw committed Apr 15, 2020
1 parent 152e457 commit 7cd0363
Show file tree
Hide file tree
Showing 13 changed files with 1,318 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/superset-ui-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"@superset-ui/legacy-plugin-chart-horizon": "^0.11.15",
"@superset-ui/legacy-plugin-chart-iframe": "^0.11.15",
"@superset-ui/legacy-plugin-chart-markup": "^0.11.15",
"@superset-ui/legacy-plugin-chart-paired-t-test": "^0.11.15",
"@superset-ui/legacy-plugin-chart-sankey": "^0.11.15",
"@superset-ui/legacy-plugin-chart-sunburst": "^0.11.15",
"@superset-ui/legacy-plugin-chart-table": "0.12.18",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* eslint-disable no-magic-numbers */
import React from 'react';
import { SuperChart } from '@superset-ui/chart';
import PairedTTestChartPlugin from '@superset-ui/legacy-plugin-chart-paired-t-test';
import data from './data';

new PairedTTestChartPlugin().configure({ key: 'paired-t-test' }).register();

export default {
title: 'Legacy Chart Plugins|legacy-plugin-chart-paired-t-test',
};

export const basic = () => (
<SuperChart
chartType="paired-t-test"
width={400}
height={400}
queryData={{ data }}
formData={{
groupby: ['name'],
liftvaluePrecision: 4,
metrics: ['sum__num'],
pvaluePrecision: 6,
significanceLevel: 0.05,
}}
/>
);
Loading

0 comments on commit 7cd0363

Please sign in to comment.