(formatter, texts)
| 67 | } |
| 68 | |
| 69 | function toText(formatter, texts) { |
| 70 | if(texts) { |
| 71 | return function(v, i) { |
| 72 | var text = texts[i]; |
| 73 | if(text === null || text === undefined) return formatter(v); |
| 74 | return text; |
| 75 | }; |
| 76 | } |
| 77 | return formatter; |
| 78 | } |
| 79 | |
| 80 | function domainScale(height, padding, dimension, tickvals, ticktext) { |
| 81 | var extent = dimensionExtent(dimension); |
no test coverage detected
searching dependent graphs…