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

Function assertSelectionModeStyle

test/jasmine/tests/bar_test.js:1655–1660  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

1653 .then(done, done.fail);
1654
1655 function assertSelectionModeStyle(label) {
1656 var unselColor = ['black', '0.2'];
1657 assertTextFontColors([unselColor, unselColor, unselColor, 'red', unselColor, unselColor], label)();
1658 assertTextFontFamilies(['Arial', 'serif', 'Roboto', 'Arial', 'serif', 'Roboto'])();
1659 assertTextFontSizes([16, 24, 12, 8, 24, 12])();
1660 }
1661
1662 function assertNonSelectionModeStyle(label) {
1663 assertTextFontColors(['blue', 'orange', LIGHT, 'red', 'orange', DARK], label)();

Callers 1

bar_test.jsFile · 0.85

Calls 3

assertTextFontFamiliesFunction · 0.85
assertTextFontSizesFunction · 0.85
assertTextFontColorsFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…