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

Function makeSelfPolygons

src/traces/scatter/plot.js:341–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339
340 // helper functions to create polygons for hoveron fill detection
341 var makeSelfPolygons = function() {
342 var polygons = new Array(fillsegments.length);
343 for(i = 0; i < fillsegments.length; i++) {
344 polygons[i] = polygonTester(fillsegments[i]);
345 }
346 return polygons;
347 };
348
349 var makePolygonsToPrevious = function(prevFillsegments) {
350 var polygons, i;

Callers 1

plotOneFunction · 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…