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:1713–1716 ·
view source on GitHub ↗
* @protected
()
Source
from the content-addressed store, hash-verified
1711
* @protected
1712
*/
1713
_maxDigits() {
1714
const
fontSize = this._resolveTickFontOptions(0).lineHeight;
1715
return
(this.isHorizontal() ? this.width : this.height) / fontSize;
1716
}
1717
}
Callers
1
buildTicks
Method · 0.80
Calls
2
_resolveTickFontOptions
Method · 0.95
isHorizontal
Method · 0.95
Tested by
no test coverage detected