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

Method _maxDigits

src/core/core.scale.js:1708–1711  ·  view source on GitHub ↗

* @protected

()

Source from the content-addressed store, hash-verified

1706 * @protected
1707 */
1708 _maxDigits() {
1709 const fontSize = this._resolveTickFontOptions(0).lineHeight;
1710 return (this.isHorizontal() ? this.width : this.height) / fontSize;
1711 }
1712}

Callers 1

buildTicksMethod · 0.80

Calls 2

isHorizontalMethod · 0.95

Tested by

no test coverage detected