MCPcopy Create free account
hub / github.com/chartjs/Chart.js / getContext

Method getContext

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

Source from the content-addressed store, hash-verified

857 }
858
859 getContext() {
860 return this.$context || (this.$context = createContext(null, {chart: this, type: 'chart'}));
861 }
862
863 getVisibleDatasetCount() {
864 return this.getSortedVisibleDatasetMetas().length;

Callers 2

constructorMethod · 0.95
updateMethod · 0.95

Calls 1

createContextFunction · 0.85

Tested by

no test coverage detected