* 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)
| 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} |