Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chartjs/Chart.js
/ toggleDataVisibility
Method
toggleDataVisibility
src/core/core.controller.js:960–962 ·
view source on GitHub ↗
(index)
Source
from the content-addressed store, hash-verified
958
}
959
960
toggleDataVisibility(index) {
961
this._hiddenIndices[index] = !this._hiddenIndices[index];
962
}
963
964
getDataVisibility(index) {
965
return
!this._hiddenIndices[index];
Callers
12
controller.polarArea.spec.js
File · 0.80
plugin.tooltip.spec.js
File · 0.80
core.controller.spec.js
File · 0.80
controller.bar.spec.js
File · 0.80
scale.radialLinear.spec.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