(ax, v)
| 5 | // in v3 (once log ranges are fixed), |
| 6 | // we'll be able to p2r here for all axis types |
| 7 | function p2r(ax, v) { |
| 8 | switch(ax.type) { |
| 9 | case 'log': |
| 10 | return ax.p2d(v); |
| 11 | case 'date': |
| 12 | return ax.p2r(v, 0, ax.calendar); |
| 13 | default: |
| 14 | return ax.p2r(v); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | function r2p(ax, v) { |
| 19 | switch(ax.type) { |
no outgoing calls
no test coverage detected