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

Function countLegendItems

test/jasmine/tests/legend_test.js:1593–1595  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1591 mockCopy.data[1].showlegend = false;
1592
1593 function countLegendItems() {
1594 return d3Select(gd).selectAll('rect.legendtoggle').size();
1595 }
1596
1597 function assertTraceToggleRect() {
1598 var nodes = d3SelectAll('rect.legendtoggle');

Callers 1

legend_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…