MCPcopy 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

afterInitFunction · 0.80
afterInitFunction · 0.80
runFunction · 0.80
onClickMethod · 0.80
onClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected