-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathindex.js
45 lines (29 loc) · 1.16 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* Copyright 2012-2015, Plotly, Inc.
* All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
var Plotly = require('../../plotly');
Plotly.Plots.register(exports, 'bar',
['cartesian', 'bar', 'oriented', 'markerColorscale', 'errorBarsOK', 'showLegend'], {
description: [
'The data visualized by the span of the bars is set in `y`',
'if `orientation` is set th *v* (the default)',
'and the labels are set in `x`.',
'By setting `orientation` to *h*, the roles are interchanged.'
].join(' ')
});
exports.attributes = require('./attributes');
exports.layoutAttributes = require('./layout_attributes');
exports.supplyDefaults = require('./defaults');
exports.supplyLayoutDefaults = require('./layout_defaults');
exports.calc = require('./calc');
exports.setPositions = require('./set_positions');
exports.colorbar = require('../scatter/colorbar');
exports.arraysToCalcdata = require('./arrays_to_calcdata');
exports.plot = require('./plot');
exports.style = require('./style');
exports.hoverPoints = require('./hover');