(gd)
| 171 | } |
| 172 | |
| 173 | function activateLastSelection(gd) { |
| 174 | if(!couldHaveActiveSelection(gd)) return; |
| 175 | |
| 176 | var id = gd._fullLayout.selections.length - 1; |
| 177 | gd._fullLayout._activeSelectionIndex = id; |
| 178 | gd._fullLayout._deactivateSelection = deactivateSelection; |
| 179 | draw(gd); |
| 180 | } |
| 181 | |
| 182 | function deactivateSelection(gd) { |
| 183 | if(!couldHaveActiveSelection(gd)) return; |
no test coverage detected
searching dependent graphs…