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

Function checkFill

test/jasmine/tests/scatter_test.js:916–920  ·  view source on GitHub ↗
(visible, msg)

Source from the content-addressed store, hash-verified

914 var trace2 = {y: [3, 4, 5, 6], fill: 'tonexty', mode: 'none'};
915
916 function checkFill(visible, msg) {
917 var fillSelection = d3Select(gd).selectAll('.scatterlayer .js-fill');
918 expect(fillSelection.size()).toBe(1, msg);
919 negateIf(visible, expect(fillSelection.attr('d'))).toBe('M0,0Z', msg);
920 }
921
922 Plotly.newPlot(gd, [trace0, trace1, trace2], {}, {scrollZoom: true})
923 .then(function() {

Callers 1

scatter_test.jsFile · 0.85

Calls 1

negateIfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…