* Show all stacks on the chart with the given name. * The chart must be re-rendered for this change to appear. * @param {String} stackName * @returns {StackMixin}
(stackName)
| 174 | * @returns {StackMixin} |
| 175 | */ |
| 176 | showStack (stackName) { |
| 177 | const layer = this._findLayerByName(stackName); |
| 178 | if (layer) { |
| 179 | layer.hidden = false; |
| 180 | } |
| 181 | return this; |
| 182 | } |
| 183 | |
| 184 | getValueAccessorByIndex (index) { |
| 185 | return this._stack[index].accessor || this.valueAccessor(); |
no test coverage detected