(fullLayout, gd)
| 97 | |
| 98 | // This really only just filters by visibility: |
| 99 | function makeSliderData(fullLayout, gd) { |
| 100 | var contOpts = fullLayout[constants.name]; |
| 101 | var sliderData = []; |
| 102 | |
| 103 | for(var i = 0; i < contOpts.length; i++) { |
| 104 | var item = contOpts[i]; |
| 105 | if(!item.visible) continue; |
| 106 | item._gd = gd; |
| 107 | sliderData.push(item); |
| 108 | } |
| 109 | |
| 110 | return sliderData; |
| 111 | } |
| 112 | |
| 113 | // This is set in the defaults step: |
| 114 | function keyFunction(opts) { |
no outgoing calls
no test coverage detected
searching dependent graphs…