(point)
| 732 | } |
| 733 | |
| 734 | function fillSpikePoint(point) { |
| 735 | if (!point) return null; |
| 736 | return { |
| 737 | xa: point.xa, |
| 738 | ya: point.ya, |
| 739 | x: point.xSpike !== undefined ? point.xSpike : (point.x0 + point.x1) / 2, |
| 740 | y: point.ySpike !== undefined ? point.ySpike : (point.y0 + point.y1) / 2, |
| 741 | distance: point.distance, |
| 742 | spikeDistance: point.spikeDistance, |
| 743 | curveNumber: point.trace.index, |
| 744 | color: point.color, |
| 745 | pointNumber: point.index |
| 746 | }; |
| 747 | } |
| 748 | |
| 749 | var spikelineOpts = { |
| 750 | fullLayout: fullLayout, |
no outgoing calls
no test coverage detected
searching dependent graphs…