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

Function getMaxPull

src/traces/pie/plot.js:946–958  ·  view source on GitHub ↗
(trace)

Source from the content-addressed store, hash-verified

944}
945
946function getMaxPull(trace) {
947 var maxPull = trace.pull;
948 if (!maxPull) return 0;
949
950 var j;
951 if (Lib.isArrayOrTypedArray(maxPull)) {
952 maxPull = 0;
953 for (j = 0; j < trace.pull.length; j++) {
954 if (trace.pull[j] > maxPull) maxPull = trace.pull[j];
955 }
956 }
957 return maxPull;
958}
959
960function scootLabels(quadrants, trace) {
961 var xHalf,

Callers 2

positionTitleOutsideFunction · 0.85
layoutAreasFunction · 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…