File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
src/components/annotations Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 9
9
10
10
'use strict' ;
11
11
12
- var Plotly = require ( '../../plotly' ) ;
13
-
14
12
exports . moduleType = 'component' ;
15
13
16
14
exports . name = 'annotations' ;
17
15
18
- exports . ARROWPATHS = require ( './arrow_paths' ) ;
19
-
20
16
exports . layoutAttributes = require ( './attributes' ) ;
21
17
22
18
exports . supplyLayoutDefaults = require ( './defaults' ) ;
23
19
24
20
exports . calcAutorange = require ( './calc_autorange' ) ;
25
21
26
- exports . arrowhead = require ( './draw_arrow_head' ) ;
27
-
28
22
var drawModule = require ( './draw' ) ;
29
23
exports . draw = drawModule . draw ;
30
24
exports . drawOne = drawModule . drawOne ;
31
25
32
- exports . add = function ( gd ) {
33
- var nextAnn = gd . _fullLayout . annotations . length ;
34
26
35
- Plotly . relayout ( gd , 'annotations[' + nextAnn + ']' , 'add' ) ;
36
27
} ;
You can’t perform that action at this time.
0 commit comments