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

Function handleDirection

src/traces/waterfall/defaults.js:17–21  ·  view source on GitHub ↗
(coerce, direction, defaultColor)

Source from the content-addressed store, hash-verified

15var TOTALS_COLOR = '#4499FF';
16
17function handleDirection(coerce, direction, defaultColor) {
18 coerce(direction + '.marker.color', defaultColor);
19 coerce(direction + '.marker.line.color', Color.defaultLine);
20 coerce(direction + '.marker.line.width');
21}
22
23function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
24 function coerce(attr, dflt) {

Callers 1

supplyDefaultsFunction · 0.70

Calls 1

coerceFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…