(shapePath, shapeOptions, gd)
| 688 | } |
| 689 | |
| 690 | function deactivateClipPathTemporarily(shapePath, shapeOptions, gd) { |
| 691 | var xref = shapeOptions.xref; |
| 692 | var yref = shapeOptions.yref; |
| 693 | var xa = Axes.getFromId(gd, xref); |
| 694 | var ya = Axes.getFromId(gd, yref); |
| 695 | |
| 696 | var clipAxes = ''; |
| 697 | if (xref !== 'paper' && !xa.autorange) clipAxes += xref; |
| 698 | if (yref !== 'paper' && !ya.autorange) clipAxes += yref; |
| 699 | |
| 700 | Drawing.setClipUrl(shapePath, clipAxes ? 'clip' + gd._fullLayout._uid + clipAxes : null, gd); |
| 701 | } |
| 702 | } |
| 703 | |
| 704 | function movePath(pathIn, moveX, moveY) { |
no outgoing calls
no test coverage detected
searching dependent graphs…