Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
hideStack
Method · 0.95
showStack
Method · 0.95
isLegendableHidden
Method · 0.95
Calls
1
pluck
Function · 0.90
Tested by
no test coverage detected