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

Function _checkFontColors

test/jasmine/tests/pie_test.js:249–255  ·  view source on GitHub ↗
(expFontColors)

Source from the content-addressed store, hash-verified

247 }
248
249 function _checkFontColors(expFontColors) {
250 return function() {
251 d3SelectAll(SLICES_TEXT_SELECTOR).each(function(d, i) {
252 expect(this.style.fill).toBe(rgb(expFontColors[i]), 'fill color of ' + i);
253 });
254 };
255 }
256
257 function _checkFontFamilies(expFontFamilies) {
258 return function() {

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…