MCPcopy Create free account
hub / github.com/plotly/plotly.js / r2p

Function r2p

src/components/selections/helpers.js:18–27  ·  view source on GitHub ↗
(ax, v)

Source from the content-addressed store, hash-verified

16}
17
18function r2p(ax, v) {
19 switch(ax.type) {
20 case 'log':
21 return ax.d2p(v);
22 case 'date':
23 return ax.r2p(v, 0, ax.calendar);
24 default:
25 return ax.r2p(v);
26 }
27}
28
29function axValue(ax) {
30 var index = (ax._id.charAt(0) === 'y') ? 1 : 0;

Callers 2

helpers.jsFile · 0.85
createShapeObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected