MCPcopy
hub / github.com/dc-js/dc.js / _findLayerByName

Method _findLayerByName

src/base/stack-mixin.js:151–154  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

149 }
150
151 _findLayerByName (n) {
152 const i = this._stack.map(pluck('name')).indexOf(n);
153 return this._stack[i];
154 }
155
156 /**
157 * Hide all stacks on the chart with the given name.

Callers 3

hideStackMethod · 0.95
showStackMethod · 0.95
isLegendableHiddenMethod · 0.95

Calls 1

pluckFunction · 0.90

Tested by

no test coverage detected