Skip to content

Commit 50f290c

Browse files
committed
register histogram module, require parts for Bars in it.
1 parent 27b0910 commit 50f290c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/traces/histogram/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ var Plotly = require('../../plotly');
2323
* constant and % work but they're not so meaningful. I guess it could be cool
2424
* to allow quadrature combination of errors in summed histograms...
2525
*/
26+
27+
Plotly.Plots.register(exports, 'histogram',
2628
['cartesian', 'bar', 'histogram', 'oriented', 'errorBarsOK', 'showLegend'], {
2729
description: [
2830
'The sample data from which statistics are computed is set in `x`',
@@ -34,4 +36,22 @@ var Plotly = require('../../plotly');
3436
].join(' ')
3537
});
3638

39+
exports.attributes = require('./attributes');
40+
41+
exports.layoutAttributes = require('../bars/layout_attributes');
42+
43+
exports.supplyDefaults = require('../bars/defaults');
44+
45+
exports.supplyLayoutDefaults = require('../bars/layout_defaults');
46+
47+
exports.calc = require('./calc');
48+
49+
exports.setPositions = require('../bars/set_positions');
50+
51+
exports.plot = require('../bars/plot');
52+
53+
exports.style = require('../bars/style');
54+
55+
exports.colorbar = require('../scatter/colorbar');
3756

57+
exports.hoverPoints = require('../bars/hover');

0 commit comments

Comments
 (0)