Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/chartjs/Chart.js
/ toggleDataVisibility
Method
toggleDataVisibility
src/core/core.controller.js:881–883 · src/core/core.controller.js::Chart.toggleDataVisibility
(index)
Source
from the content-addressed store, hash-verified
879
}
880
881
toggleDataVisibility(index) {
882
this._hiddenIndices[index] = !this._hiddenIndices[index];
883
}
884
885
getDataVisibility(index) {
886
return
!this._hiddenIndices[index];
Callers
11
scale.radialLinear.tests.js
File · 0.80
controller.bar.tests.js
File · 0.80
core.controller.tests.js
File · 0.80
controller.polarArea.tests.js
File · 0.80
doughnut-animation-hide-last.js
File · 0.80
afterInit
Function · 0.80
afterInit
Function · 0.80
run
Function · 0.80
last-slice-animate.js
File · 0.80
onClick
Method · 0.80
onClick
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected