MCPcopy Create free account
hub / github.com/chartjs/Chart.js / _getStackCount

Method _getStackCount

src/controllers/controller.bar.ts:599–601  ·  view source on GitHub ↗

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

(index?: number)

Source from the content-addressed store, hash-verified

597 * @internal
598 */
599 _getStackCount(index?: number): number {
600 return this._getStacks(undefined, index).length;
601 }
602
603 /**
604 * @internal

Callers 3

_getRulerMethod · 0.95

Calls 1

_getStacksMethod · 0.95

Tested by

no test coverage detected