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

Function getColor

test/jasmine/tests/scatter_test.js:28–28  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

26var getOpacity = function(node) { return Number(node.style.opacity); };
27var getFillOpacity = function(node) { return Number(node.style['fill-opacity']); };
28var getColor = function(node) { return node.style.fill; };
29var getMarkerSize = function(node) {
30 // find path arc multiply by 2 to get the corresponding marker.size value
31 // (works for circles only)

Callers 3

_assertFunction · 0.85
scatter_test.jsFile · 0.85
formatColorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…