MCPcopy
hub / github.com/chartjs/Chart.js / _getStackCount

Method _getStackCount

src/controllers/controller.bar.js:485–487  ·  view source on GitHub ↗

* Returns the effective number of stacks based on groups and bar visibility. * @private

(index)

Source from the content-addressed store, hash-verified

483 * @private
484 */
485 _getStackCount(index) {
486 return this._getStacks(undefined, index).length;
487 }
488
489 _getAxisCount() {
490 return this._getAxis().length;

Callers 3

_getRulerMethod · 0.95

Calls 1

_getStacksMethod · 0.95

Tested by

no test coverage detected