Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ applyLayoutsDefaults
Function
applyLayoutsDefaults
src/core/core.layouts.defaults.js:1–11 ·
view source on GitHub ↗
(defaults)
Source
from the content-addressed store, hash-verified
1
export
function
applyLayoutsDefaults(defaults) {
2
defaults.set(
'layout'
, {
3
autoPadding: true,
4
padding: {
5
top: 0,
6
right: 0,
7
bottom: 0,
8
left: 0
9
}
10
});
11
}
Callers
nothing calls this directly
Calls
1
set
Method · 0.65
Tested by
no test coverage detected