superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccwilli...@apache.org
Subject [incubator-superset] branch master updated: Add ChartPlugin and metadata for nvd3 and BigNumber vis (#6085)
Date Fri, 12 Oct 2018 19:09:45 GMT
This is an automated email from the ASF dual-hosted git repository.

ccwilliams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e88d02  Add ChartPlugin and metadata for nvd3 and BigNumber vis (#6085)
8e88d02 is described below

commit 8e88d0233ace08abd69d57f320f159d7cffdc2e9
Author: Krist Wongsuphasawat <krist.wongz@gmail.com>
AuthorDate: Fri Oct 12 12:09:40 2018 -0700

    Add ChartPlugin and metadata for nvd3 and BigNumber vis (#6085)
    
    * add nvd3 thumbnails
    
    * add ChartPlugin and metadata files
    
    * add BigNumber thumbnails
    
    * Add bignumber ChartPlugin
---
 .../BigNumber/BigNumberChartPlugin.js              |  20 ++++++++++++++++++++
 .../visualizations/BigNumber/images/thumbnail.png  | Bin 0 -> 103045 bytes
 .../BigNumber/images/thumbnailLarge.png            | Bin 0 -> 51404 bytes
 .../BigNumberTotal/BigNumberTotalChartPlugin.js    |  20 ++++++++++++++++++++
 .../BigNumberTotal/images/thumbnail.png            | Bin 0 -> 4925 bytes
 .../BigNumberTotal/images/thumbnailLarge.png       | Bin 0 -> 27637 bytes
 .../visualizations/nvd3/Area/AreaChartPlugin.js    |  21 +++++++++++++++++++++
 .../visualizations/nvd3/Area/images/thumbnail.png  | Bin 0 -> 14469 bytes
 .../nvd3/Area/images/thumbnailLarge.png            | Bin 0 -> 105237 bytes
 .../src/visualizations/nvd3/Bar/BarChartPlugin.js  |  21 +++++++++++++++++++++
 .../visualizations/nvd3/Bar/images/thumbnail.png   | Bin 0 -> 9058 bytes
 .../nvd3/Bar/images/thumbnailLarge.png             | Bin 0 -> 50564 bytes
 .../nvd3/BoxPlot/BoxPlotChartPlugin.js             |  21 +++++++++++++++++++++
 .../nvd3/BoxPlot/images/thumbnail.png              | Bin 0 -> 9496 bytes
 .../nvd3/BoxPlot/images/thumbnailLarge.png         | Bin 0 -> 56136 bytes
 .../nvd3/Bubble/BubbleChartPlugin.js               |  21 +++++++++++++++++++++
 .../nvd3/Bubble/images/thumbnail.png               | Bin 0 -> 22779 bytes
 .../nvd3/Bubble/images/thumbnailLarge.png          | Bin 0 -> 135455 bytes
 .../nvd3/Bullet/BulletChartPlugin.js               |  21 +++++++++++++++++++++
 .../nvd3/Bullet/images/thumbnail.png               | Bin 0 -> 2174 bytes
 .../nvd3/Bullet/images/thumbnailLarge.png          | Bin 0 -> 8764 bytes
 .../nvd3/Compare/CompareChartPlugin.js             |  21 +++++++++++++++++++++
 .../nvd3/Compare/images/thumbnail.png              | Bin 0 -> 32918 bytes
 .../nvd3/Compare/images/thumbnailLarge.png         | Bin 0 -> 258894 bytes
 .../nvd3/DistBar/DistBarChartPlugin.js             |  21 +++++++++++++++++++++
 .../nvd3/DistBar/images/thumbnail.png              | Bin 0 -> 8752 bytes
 .../nvd3/DistBar/images/thumbnailLarge.png         | Bin 0 -> 52519 bytes
 .../nvd3/DualLine/DualLineChartPlugin.js           |  21 +++++++++++++++++++++
 .../nvd3/DualLine/images/thumbnail.png             | Bin 0 -> 19229 bytes
 .../nvd3/DualLine/images/thumbnailLarge.png        | Bin 0 -> 165716 bytes
 .../visualizations/nvd3/Line/LineChartPlugin.js    |  21 +++++++++++++++++++++
 .../visualizations/nvd3/Line/images/thumbnail.png  | Bin 0 -> 42915 bytes
 .../nvd3/Line/images/thumbnailLarge.png            | Bin 0 -> 321509 bytes
 .../nvd3/LineMulti/images/thumbnail.png            | Bin 0 -> 54363 bytes
 .../nvd3/LineMulti/images/thumbnailLarge.png       | Bin 0 -> 116138 bytes
 .../src/visualizations/nvd3/Pie/PieChartPlugin.js  |  21 +++++++++++++++++++++
 .../visualizations/nvd3/Pie/images/thumbnail.png   | Bin 0 -> 6007 bytes
 .../nvd3/Pie/images/thumbnailLarge.png             | Bin 0 -> 28302 bytes
 .../nvd3/TimePivot/TimePivotChartPlugin.js         |  21 +++++++++++++++++++++
 .../nvd3/TimePivot/images/thumbnail.png            | Bin 0 -> 13209 bytes
 .../nvd3/TimePivot/images/thumbnailLarge.png       | Bin 0 -> 84481 bytes
 41 files changed, 271 insertions(+)

diff --git a/superset/assets/src/visualizations/BigNumber/BigNumberChartPlugin.js b/superset/assets/src/visualizations/BigNumber/BigNumberChartPlugin.js
new file mode 100644
index 0000000..9690e9e
--- /dev/null
+++ b/superset/assets/src/visualizations/BigNumber/BigNumberChartPlugin.js
@@ -0,0 +1,20 @@
+import ChartPlugin from '../core/models/ChartPlugin';
+import ChartMetadata from '../core/models/ChartMetadata';
+import transformProps from './transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Big Number with Trendline',
+  description: '',
+  thumbnail,
+});
+
+export default class BigNumberChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('./BigNumber.jsx'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/BigNumber/images/thumbnail.png b/superset/assets/src/visualizations/BigNumber/images/thumbnail.png
new file mode 100644
index 0000000..90ac5a5
Binary files /dev/null and b/superset/assets/src/visualizations/BigNumber/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/BigNumber/images/thumbnailLarge.png b/superset/assets/src/visualizations/BigNumber/images/thumbnailLarge.png
new file mode 100644
index 0000000..2420f25
Binary files /dev/null and b/superset/assets/src/visualizations/BigNumber/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/BigNumberTotal/BigNumberTotalChartPlugin.js
b/superset/assets/src/visualizations/BigNumberTotal/BigNumberTotalChartPlugin.js
new file mode 100644
index 0000000..91ec3da
--- /dev/null
+++ b/superset/assets/src/visualizations/BigNumberTotal/BigNumberTotalChartPlugin.js
@@ -0,0 +1,20 @@
+import ChartPlugin from '../core/models/ChartPlugin';
+import ChartMetadata from '../core/models/ChartMetadata';
+import transformProps from '../BigNumber/transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Big Number',
+  description: '',
+  thumbnail,
+});
+
+export default class BigNumberTotalChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../BigNumber/BigNumber.jsx'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/BigNumberTotal/images/thumbnail.png b/superset/assets/src/visualizations/BigNumberTotal/images/thumbnail.png
new file mode 100644
index 0000000..350d5a1
Binary files /dev/null and b/superset/assets/src/visualizations/BigNumberTotal/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/BigNumberTotal/images/thumbnailLarge.png b/superset/assets/src/visualizations/BigNumberTotal/images/thumbnailLarge.png
new file mode 100644
index 0000000..eb4b345
Binary files /dev/null and b/superset/assets/src/visualizations/BigNumberTotal/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Area/AreaChartPlugin.js b/superset/assets/src/visualizations/nvd3/Area/AreaChartPlugin.js
new file mode 100644
index 0000000..638f2f8
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Area/AreaChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Area Chart',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class AreaChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Area/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Area/images/thumbnail.png
new file mode 100644
index 0000000..6b2fb75
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Area/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Area/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Area/images/thumbnailLarge.png
new file mode 100644
index 0000000..86f1080
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Area/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Bar/BarChartPlugin.js b/superset/assets/src/visualizations/nvd3/Bar/BarChartPlugin.js
new file mode 100644
index 0000000..cf1d1e4
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Bar/BarChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Time-series Bar Chart',
+  description: 'A bar chart where the x axis is time',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class BarChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Bar/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Bar/images/thumbnail.png
new file mode 100644
index 0000000..1ef2633
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Bar/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Bar/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Bar/images/thumbnailLarge.png
new file mode 100644
index 0000000..ab0e8d9
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Bar/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/BoxPlot/BoxPlotChartPlugin.js b/superset/assets/src/visualizations/nvd3/BoxPlot/BoxPlotChartPlugin.js
new file mode 100644
index 0000000..17904b4
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/BoxPlot/BoxPlotChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Box Plot',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class BoxPlotChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/BoxPlot/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/BoxPlot/images/thumbnail.png
new file mode 100644
index 0000000..8925e50
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/BoxPlot/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/BoxPlot/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/BoxPlot/images/thumbnailLarge.png
new file mode 100644
index 0000000..de8f061
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/BoxPlot/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Bubble/BubbleChartPlugin.js b/superset/assets/src/visualizations/nvd3/Bubble/BubbleChartPlugin.js
new file mode 100644
index 0000000..c2206bc
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Bubble/BubbleChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Bubble Chart',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class BubbleChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Bubble/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Bubble/images/thumbnail.png
new file mode 100644
index 0000000..4533881
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Bubble/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Bubble/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Bubble/images/thumbnailLarge.png
new file mode 100644
index 0000000..08de51f
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Bubble/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Bullet/BulletChartPlugin.js b/superset/assets/src/visualizations/nvd3/Bullet/BulletChartPlugin.js
new file mode 100644
index 0000000..4a721c9
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Bullet/BulletChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Bullet Chart',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class BulletChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Bullet/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Bullet/images/thumbnail.png
new file mode 100644
index 0000000..f98c70f
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Bullet/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Bullet/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Bullet/images/thumbnailLarge.png
new file mode 100644
index 0000000..7a66a41
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Bullet/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Compare/CompareChartPlugin.js b/superset/assets/src/visualizations/nvd3/Compare/CompareChartPlugin.js
new file mode 100644
index 0000000..16a05b6
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Compare/CompareChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Time-series Percent Change',
+  description: 'A line chart component where you can compare the % change over time',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class CompareChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Compare/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Compare/images/thumbnail.png
new file mode 100644
index 0000000..c17af52
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Compare/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Compare/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Compare/images/thumbnailLarge.png
new file mode 100644
index 0000000..00b0a7c
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Compare/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/DistBar/DistBarChartPlugin.js b/superset/assets/src/visualizations/nvd3/DistBar/DistBarChartPlugin.js
new file mode 100644
index 0000000..56bf49f
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/DistBar/DistBarChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Bar Chart',
+  description: 'A bar chart where the x axis is time',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class DistBarChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/DistBar/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/DistBar/images/thumbnail.png
new file mode 100644
index 0000000..cdd5120
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/DistBar/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/DistBar/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/DistBar/images/thumbnailLarge.png
new file mode 100644
index 0000000..b410147
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/DistBar/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/DualLine/DualLineChartPlugin.js b/superset/assets/src/visualizations/nvd3/DualLine/DualLineChartPlugin.js
new file mode 100644
index 0000000..dba757a
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/DualLine/DualLineChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Dual Line Chart',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class DualLineChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/DualLine/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/DualLine/images/thumbnail.png
new file mode 100755
index 0000000..a5f723c
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/DualLine/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/DualLine/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/DualLine/images/thumbnailLarge.png
new file mode 100755
index 0000000..23a7750
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/DualLine/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Line/LineChartPlugin.js b/superset/assets/src/visualizations/nvd3/Line/LineChartPlugin.js
new file mode 100644
index 0000000..7a43c5f
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Line/LineChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Line Chart',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class LineChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Line/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Line/images/thumbnail.png
new file mode 100644
index 0000000..7df5084
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Line/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Line/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Line/images/thumbnailLarge.png
new file mode 100644
index 0000000..67f8fe8
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Line/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/LineMulti/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/LineMulti/images/thumbnail.png
new file mode 100644
index 0000000..f776bb8
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/LineMulti/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/LineMulti/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/LineMulti/images/thumbnailLarge.png
new file mode 100644
index 0000000..473be99
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/LineMulti/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Pie/PieChartPlugin.js b/superset/assets/src/visualizations/nvd3/Pie/PieChartPlugin.js
new file mode 100644
index 0000000..469c6be
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/Pie/PieChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Pie Chart',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class PieChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/Pie/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/Pie/images/thumbnail.png
new file mode 100644
index 0000000..1c93bf5
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Pie/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/Pie/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/Pie/images/thumbnailLarge.png
new file mode 100644
index 0000000..ab76749
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/Pie/images/thumbnailLarge.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/TimePivot/TimePivotChartPlugin.js b/superset/assets/src/visualizations/nvd3/TimePivot/TimePivotChartPlugin.js
new file mode 100644
index 0000000..bed8710
--- /dev/null
+++ b/superset/assets/src/visualizations/nvd3/TimePivot/TimePivotChartPlugin.js
@@ -0,0 +1,21 @@
+import ChartPlugin from '../../core/models/ChartPlugin';
+import ChartMetadata from '../../core/models/ChartMetadata';
+import transformProps from '../transformProps';
+import thumbnail from './images/thumbnail.png';
+
+const metadata = new ChartMetadata({
+  name: 'Time-series Period Pivot',
+  description: '',
+  credits: ['http://nvd3.org'],
+  thumbnail,
+});
+
+export default class TimePivotChartPlugin extends ChartPlugin {
+  constructor() {
+    super({
+      metadata,
+      transformProps,
+      loadChart: () => import('../ReactNVD3.js'),
+    });
+  }
+}
diff --git a/superset/assets/src/visualizations/nvd3/TimePivot/images/thumbnail.png b/superset/assets/src/visualizations/nvd3/TimePivot/images/thumbnail.png
new file mode 100644
index 0000000..83201c2
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/TimePivot/images/thumbnail.png
differ
diff --git a/superset/assets/src/visualizations/nvd3/TimePivot/images/thumbnailLarge.png b/superset/assets/src/visualizations/nvd3/TimePivot/images/thumbnailLarge.png
new file mode 100644
index 0000000..149f3da
Binary files /dev/null and b/superset/assets/src/visualizations/nvd3/TimePivot/images/thumbnailLarge.png
differ


Mime
View raw message