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

Function drawSectionX

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

Source from the content-addressed store, hash-verified

803 }
804
805 function drawSectionX(style, items, min, max, distRatios, previousResult) {
806 var result = [];
807 var n = 0;
808 for(var q = 0; q < items.length; q++) {
809 var i = items[q];
810 for(var k = 1; k < depth; k++) {
811 for(var j = 1; j < height; j++) {
812 result.push(
813 beginSection(style, i, j, k, min, max, distRatios[q],
814 (previousResult && previousResult[n]) ? previousResult[n] : []
815 )
816 );
817 n++;
818 }
819 }
820 }
821 return result;
822 }
823
824 function drawSectionY(style, items, min, max, distRatios, previousResult) {
825 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…