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

Function _checkFontSizes

test/jasmine/tests/pie_test.js:265–271  ·  view source on GitHub ↗
(expFontSizes)

Source from the content-addressed store, hash-verified

263 }
264
265 function _checkFontSizes(expFontSizes) {
266 return function() {
267 d3SelectAll(SLICES_TEXT_SELECTOR).each(function(d, i) {
268 expect(this.style.fontSize).toBe(expFontSizes[i] + 'px', 'fontSize of ' + i);
269 });
270 };
271 }
272
273 it('propagate explicit colors to the same labels in earlier OR later traces', function(done) {
274 var data1 = [

Callers 1

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