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

Function _checkFontSizes

test/jasmine/tests/funnelarea_test.js:241–247  ·  view source on GitHub ↗
(expFontSizes)

Source from the content-addressed store, hash-verified

239 }
240
241 function _checkFontSizes(expFontSizes) {
242 return function() {
243 d3SelectAll(SLICES_TEXT_SELECTOR).each(function(d, i) {
244 expect(this.style.fontSize).toBe(expFontSizes[i] + 'px', 'fontSize of ' + i);
245 });
246 };
247 }
248
249 it('propagate explicit colors to the same labels in earlier OR later traces', function(done) {
250 var data1 = [

Callers 1

funnelarea_test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…