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

Function coerce

src/traces/pie/defaults.js:53–55  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

51
52function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
53 function coerce(attr, dflt) {
54 return Lib.coerce(traceIn, traceOut, attributes, attr, dflt);
55 }
56
57 var labels = coerce('labels');
58 var values = coerce('values');

Callers 2

handleMarkerDefaultsFunction · 0.70
supplyDefaultsFunction · 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…