Skip to content

Commit b0ff48c

Browse files
committed
Add basePlotModule to traces
1 parent 77a5464 commit b0ff48c

File tree

16 files changed

+22
-5
lines changed

16 files changed

+22
-5
lines changed

src/traces/bar/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Bar.hoverPoints = require('./hover');
2525

2626
Bar.moduleType = 'trace';
2727
Bar.name = 'bar';
28+
Bar.basePlotModule = require('../../plots/cartesian');
2829
Bar.categories = ['cartesian', 'bar', 'oriented', 'markerColorscale', 'errorBarsOK', 'showLegend'];
2930
Bar.meta = {
3031
description: [

src/traces/box/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Box.hoverPoints = require('./hover');
2222

2323
Box.moduleType = 'trace';
2424
Box.name = 'box';
25+
Box.basePlotModule = require('../../plots/cartesian');
2526
Box.categories = ['cartesian', 'symbols', 'oriented', 'box', 'showLegend'];
2627
Box.meta = {
2728
description: [

src/traces/choropleth/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Choropleth.plot = require('./plot').plot;
1919

2020
Choropleth.moduleType = 'trace';
2121
Choropleth.name = 'choropleth';
22+
Choropleth.basePlotModule = require('../../plots/geo');
2223
Choropleth.categories = ['geo', 'noOpacity'];
2324
Choropleth.meta = {
2425
description: [

src/traces/contour/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Contour.hoverPoints = require('./hover');
2121

2222
Contour.moduleType = 'trace';
2323
Contour.name = 'contour';
24+
Contour.basePlotModule = require('../../plots/cartesian');
2425
Contour.categories = ['cartesian', '2dMap', 'contour'];
2526
Contour.meta = {
2627
description: [

src/traces/heatmap/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Heatmap.hoverPoints = require('./hover');
2121

2222
Heatmap.moduleType = 'trace';
2323
Heatmap.name = 'heatmap';
24+
Heatmap.basePlotModule = require('../../plots/cartesian');
2425
Heatmap.categories = ['cartesian', '2dMap'];
2526
Heatmap.meta = {
2627
description: [

src/traces/histogram/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Histogram.hoverPoints = require('../bar/hover');
3838

3939
Histogram.moduleType = 'trace';
4040
Histogram.name = 'histogram';
41+
Histogram.basePlotModule = require('../../plots/cartesian');
4142
Histogram.categories = ['cartesian', 'bar', 'histogram', 'oriented', 'errorBarsOK', 'showLegend'];
4243
Histogram.meta = {
4344
description: [

src/traces/histogram2d/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Histogram2D.hoverPoints = require('../heatmap/hover');
2121

2222
Histogram2D.moduleType = 'trace';
2323
Histogram2D.name = 'histogram2d';
24+
Histogram2D.basePlotModule = require('../../plots/cartesian');
2425
Histogram2D.categories = ['cartesian', '2dMap', 'histogram'];
2526
Histogram2D.meta = {
2627
hrName: 'histogram_2d',

src/traces/histogram2dcontour/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Histogram2dContour.hoverPoints = require('../contour/hover');
2121

2222
Histogram2dContour.moduleType = 'trace';
2323
Histogram2dContour.name = 'histogram2dcontour';
24+
Histogram2dContour.basePlotModule = require('../../plots/cartesian');
2425
Histogram2dContour.categories = ['cartesian', '2dMap', 'contour', 'histogram'];
2526
Histogram2dContour.meta = {
2627
hrName: 'histogram_2d_contour',

src/traces/mesh3d/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Mesh3D.plot = require('./convert');
1818

1919
Mesh3D.moduleType = 'trace';
2020
Mesh3D.name = 'mesh3d',
21+
Mesh3D.basePlotModule = require('../../plots/gl3d');
2122
Mesh3D.categories = ['gl3d'];
2223
Mesh3D.meta = {
2324
description: [

src/traces/pie/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Pie.styleOne = require('./style_one');
2121

2222
Pie.moduleType = 'trace';
2323
Pie.name = 'pie';
24+
Pie.basePlotModule = require('../../plots/cartesian');
2425
Pie.categories = ['pie', 'showLegend'];
2526
Pie.meta = {
2627
description: [

0 commit comments

Comments
 (0)