(fullData)
| 39 | }); |
| 40 | |
| 41 | function allShown(fullData) { |
| 42 | return fullData.map(function (trace) { |
| 43 | return Lib.extendDeep( |
| 44 | { |
| 45 | visible: true, |
| 46 | showlegend: true, |
| 47 | _dfltShowLegend: true, |
| 48 | _input: {} |
| 49 | }, |
| 50 | trace |
| 51 | ); |
| 52 | }); |
| 53 | } |
| 54 | |
| 55 | it('hides by default if there is only one legend item by default', function () { |
| 56 | fullData = allShown([ |
no outgoing calls
no test coverage detected
searching dependent graphs…