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

Function labelCount

test/jasmine/tests/hover_label_test.js:1850–1852  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1848 });
1849
1850 function labelCount() {
1851 return d3Select(gd).selectAll('g.hovertext').size();
1852 }
1853
1854 it('shows as many labels as will fit on the div, not on the subplot, when labels do not overlap the axis label', function (done) {
1855 _hoverNatural(gd, 200, 200);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…