MCPcopy Index your code
hub / github.com/dc-js/dc.js / stackLayout

Method stackLayout

src/base/stack-mixin.js:260–266  ·  view source on GitHub ↗

* Gets or sets the stack layout algorithm, which computes a baseline for each stack and * propagates it to the next. * @see https://github.com/d3/d3-3.x-api-reference/blob/master/Stack-Layout.md d3.stackD3v3 * @param {Function} [_stack=d3.stackD3v3] * @returns {Function|S

(_stack)

Source from the content-addressed store, hash-verified

258 * @returns {Function|StackMixin}
259 */
260 stackLayout (_stack) {
261 if (!arguments.length) {
262 return this._stackLayout;
263 }
264 this._stackLayout = _stack;
265 return this;
266 }
267
268 /**
269 * Since dc.js 2.0, there has been {@link https://github.com/dc-js/dc.js/issues/949 an issue}

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected