()
| 837 | afterEach(destroyGraphDiv); |
| 838 | |
| 839 | function layout() { |
| 840 | return { |
| 841 | xaxis: {domain: [0, 0.5]}, |
| 842 | xaxis2: {domain: [0.5, 1], anchor: 'y2'}, |
| 843 | yaxis2: {anchor: 'x2'}, |
| 844 | annotations: [ |
| 845 | {x: 1, y: 2, xref: 'x', yref: 'y', text: 'index0'}, // (1,2) selects |
| 846 | {x: 1, y: 3, xref: 'x', yref: 'y', text: 'index1'}, |
| 847 | {x: 2, y: 3, xref: 'x', yref: 'y', text: 'index2'}, // ** (2,3) selects |
| 848 | {x: 4, y: 2, xref: 'x', yref: 'y', text: 'index3'}, |
| 849 | {x: 1, y: 2, xref: 'x2', yref: 'y', text: 'index4'}, |
| 850 | {x: 1, y: 2, xref: 'x', yref: 'y2', text: 'index5'}, |
| 851 | {x: 1, xclick: 5, y: 2, xref: 'x', yref: 'y', text: 'index6'}, |
| 852 | {x: 1, y: 2, yclick: 6, xref: 'x', yref: 'y', text: 'index7'}, |
| 853 | {x: 1, y: 2.0000001, xref: 'x', yref: 'y', text: 'index8'}, |
| 854 | {x: 1, y: 2, xref: 'x', yref: 'y', text: 'index9'}, // (1,2) selects |
| 855 | {x: 7, xclick: 1, y: 2, xref: 'x', yref: 'y', text: 'index10'}, // (1,2) selects |
| 856 | {x: 1, y: 8, yclick: 2, xref: 'x', yref: 'y', text: 'index11'}, // (1,2) selects |
| 857 | {x: 1, y: 2, xref: 'paper', yref: 'y', text: 'index12'}, |
| 858 | {x: 1, y: 2, xref: 'x', yref: 'paper', text: 'index13'}, |
| 859 | {x: 1, y: 2, xref: 'paper', yref: 'paper', text: 'index14'} |
| 860 | ] |
| 861 | }; |
| 862 | } |
| 863 | |
| 864 | var data = [ |
| 865 | {x: [0, 1, 2], y: [1, 2, 3]}, |
no outgoing calls
no test coverage detected
searching dependent graphs…