Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ _maxDigits
Method
_maxDigits
src/core/core.scale.js:1710–1713 ·
view source on GitHub ↗
* @protected
()
Source
from the content-addressed store, hash-verified
1708
* @protected
1709
*/
1710
_maxDigits() {
1711
const
fontSize = this._resolveTickFontOptions(0).lineHeight;
1712
return
(this.isHorizontal() ? this.width : this.height) / fontSize;
1713
}
1714
}
Callers
1
buildTicks
Method · 0.80
Calls
2
_resolveTickFontOptions
Method · 0.95
isHorizontal
Method · 0.95
Tested by
no test coverage detected