MCPcopy Index your code
hub / github.com/plotly/plotly.js / convert

Function convert

src/components/selections/select.js:1463–1466  ·  view source on GitHub ↗
(ax, d)

Source from the content-addressed store, hash-verified

1461}
1462
1463function convert(ax, d) {
1464 if(ax.type === 'date') d = d.replace('_', ' ');
1465 return ax.type === 'log' ? ax.c2p(d) : ax.r2p(d, null, ax.calendar);
1466}
1467
1468function castMultiPolygon(allPolygons) {
1469 var len = allPolygons.length;

Callers 2

reselectFunction · 0.70
getLayoutPolygonsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…