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

Function formatter

src/plots/gl3d/scene.js:333–341  ·  view source on GitHub ↗
(axLetter, val, hoverformat)

Source from the content-addressed store, hash-verified

331 }
332
333 function formatter(axLetter, val, hoverformat) {
334 var ax = scene.fullSceneLayout[axLetter + 'axis'];
335
336 if(ax.type !== 'log') {
337 val = ax.d2l(val);
338 }
339
340 return Axes.hoverLabelText(ax, val, hoverformat);
341 }
342
343 if(lastPicked !== null) {
344 var pdata = project(scene.glplot.cameraParams, selection.dataCoordinate);

Callers 5

scene.jsFile · 0.70
zoomInFunction · 0.50
zoomOutFunction · 0.50
axes_test.jsFile · 0.50
modDateFormatFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…