(layoutIn, fullData)
| 22 | var layoutOut; |
| 23 | |
| 24 | function _supply(layoutIn, fullData) { |
| 25 | fullData = fullData || [{ |
| 26 | type: 'scatterpolar', |
| 27 | r: [], |
| 28 | theta: [], |
| 29 | subplot: 'polar' |
| 30 | }]; |
| 31 | |
| 32 | layoutOut = { |
| 33 | autotypenumbers: 'convert types', |
| 34 | font: {color: 'red'}, |
| 35 | _subplots: {polar: ['polar']} |
| 36 | }; |
| 37 | |
| 38 | Polar.supplyLayoutDefaults(layoutIn, layoutOut, fullData); |
| 39 | } |
| 40 | |
| 41 | it('should default *radialaxis.angle* to first sector angle', function() { |
| 42 | _supply({ |
no outgoing calls
no test coverage detected
searching dependent graphs…