(axis, coord, scale, calendar)
| 59 | |
| 60 | // Unpack position data |
| 61 | function toDataCoords(axis, coord, scale, calendar) { |
| 62 | var b = []; |
| 63 | var len = coord.length; |
| 64 | for(var i = 0; i < len; i++) { |
| 65 | b[i] = axis.d2l(coord[i], 0, calendar) * scale; |
| 66 | } |
| 67 | return b; |
| 68 | } |
| 69 | |
| 70 | // Round indices if passed as floats |
| 71 | function toRoundIndex(a) { |
no outgoing calls
no test coverage detected
searching dependent graphs…