-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
/
Copy pathindex.js
40 lines (36 loc) · 1.42 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
/**
* Copyright 2012-2019, 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';
module.exports = {
attributes: require('./attributes'),
layoutAttributes: require('./layout_attributes'),
supplyDefaults: require('./defaults').supplyDefaults,
crossTraceDefaults: require('./defaults').crossTraceDefaults,
supplyLayoutDefaults: require('./layout_defaults'),
calc: require('./calc'),
crossTraceCalc: require('./cross_trace_calc'),
plot: require('./plot'),
style: require('./style').style,
hoverPoints: require('./hover'),
eventData: require('./event_data'),
selectPoints: require('../bar/select'),
moduleType: 'trace',
name: 'waterfall',
basePlotModule: require('../../plots/cartesian'),
categories: ['bar-like', 'cartesian', 'svg', 'oriented', 'showLegend', 'zoomScale'],
meta: {
description: [
'Draws waterfall trace which is useful graph to displays the',
'contribution of various elements (either positive or negative)',
'in a bar chart. 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(' ')
}
};