Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ afterInit
Function
afterInit
test/fixtures/controller.doughnut/doughnut-hidden.js:36–38 ·
view source on GitHub ↗
(chart)
Source
from the content-addressed store, hash-verified
34
plugins: [{
35
id:
'hide'
,
36
afterInit(chart) {
37
chart.toggleDataVisibility(4);
38
}
39
}]
40
}
41
};
Callers
nothing calls this directly
Calls
1
toggleDataVisibility
Method · 0.80
Tested by
no test coverage detected