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 99
1010'use strict' ;
1111
12- var Plotly = require ( '../../plotly' ) ;
13-
1412exports . moduleType = 'component' ;
1513
1614exports . name = 'annotations' ;
1715
18- exports . ARROWPATHS = require ( './arrow_paths' ) ;
19-
2016exports . layoutAttributes = require ( './attributes' ) ;
2117
2218exports . supplyLayoutDefaults = require ( './defaults' ) ;
2319
2420exports . calcAutorange = require ( './calc_autorange' ) ;
2521
26- exports . arrowhead = require ( './draw_arrow_head' ) ;
27-
2822var drawModule = require ( './draw' ) ;
2923exports . draw = drawModule . draw ;
3024exports . drawOne = drawModule . drawOne ;
3125
32- exports . add = function ( gd ) {
33- var nextAnn = gd . _fullLayout . annotations . length ;
3426
35- Plotly . relayout ( gd , 'annotations[' + nextAnn + ']' , 'add' ) ;
3627} ;
You can’t perform that action at this time.
0 commit comments