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

Function drawSectionY

src/traces/isosurface/convert.js:824–841  ·  view source on GitHub ↗
(style, items, min, max, distRatios, previousResult)

Source from the content-addressed store, hash-verified

822 }
823
824 function drawSectionY(style, items, min, max, distRatios, previousResult) {
825 var result = [];
826 var n = 0;
827 for(var q = 0; q < items.length; q++) {
828 var j = items[q];
829 for(var i = 1; i < width; i++) {
830 for(var k = 1; k < depth; k++) {
831 result.push(
832 beginSection(style, i, j, k, min, max, distRatios[q],
833 (previousResult && previousResult[n]) ? previousResult[n] : []
834 )
835 );
836 n++;
837 }
838 }
839 }
840 return result;
841 }
842
843 function drawSectionZ(style, items, min, max, distRatios, previousResult) {
844 var result = [];

Callers 1

drawAllFunction · 0.85

Calls 1

beginSectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…