MCPcopy
hub / github.com/plotly/plotly.js / annaxscale

Function annaxscale

test/jasmine/assets/domain_ref_components.js:216–220  ·  view source on GitHub ↗
(ac, c0)

Source from the content-addressed store, hash-verified

214// This also works with log axes by taking logs of each part of the sum, so that
215// the length in pixels is multiplied by the scalar
216function annaxscale(ac, c0) {
217 var ret;
218 ret = c0 + 2 * (ac - c0);
219 return ret;
220}
221
222// This tests to see that an annotation was drawn correctly.
223// Determining the length of the arrow seems complicated due to the

Callers 1

annotationTestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…