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

Function _checkFontColors

test/jasmine/tests/funnelarea_test.js:225–231  ·  view source on GitHub ↗
(expFontColors)

Source from the content-addressed store, hash-verified

223 }
224
225 function _checkFontColors(expFontColors) {
226 return function() {
227 d3SelectAll(SLICES_TEXT_SELECTOR).each(function(d, i) {
228 expect(this.style.fill).toBe(rgb(expFontColors[i]), 'fill color of ' + i);
229 });
230 };
231 }
232
233 function _checkFontFamilies(expFontFamilies) {
234 return function() {

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…