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

Function countNonEmptyFills

test/jasmine/tests/scatter_test.js:1370–1375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1368 // fill elements should be correctly drawn for all traces.
1369
1370 function countNonEmptyFills() {
1371 return d3SelectAll('.scatterlayer .js-fill').filter(function() {
1372 var d = d3Select(this).attr('d');
1373 return d && d !== 'M0,0Z';
1374 }).size();
1375 }
1376
1377 Plotly.newPlot(gd, [
1378 {x: [1, 2, 3], y: [2, 1, 4], stackgroup: 'one', name: 'trace 0'},

Callers 1

scatter_test.jsFile · 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…