MCPcopy
hub / github.com/chartjs/Chart.js / getContext

Method getContext

src/core/core.controller.js:855–857  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

853 }
854
855 getContext() {
856 return this.$context || (this.$context = createContext(null, {chart: this, type: 'chart'}));
857 }
858
859 getVisibleDatasetCount() {
860 return this.getSortedVisibleDatasetMetas().length;

Callers 2

constructorMethod · 0.95
updateMethod · 0.95

Calls 1

createContextFunction · 0.85

Tested by

no test coverage detected