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

Method getContext

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

Source from the content-addressed store, hash-verified

932 }
933
934 getContext() {
935 return this.$context || (this.$context = createContext(null, {chart: this, type: 'chart'}));
936 }
937
938 getVisibleDatasetCount() {
939 return this.getSortedVisibleDatasetMetas().length;

Callers 2

constructorMethod · 0.95
updateMethod · 0.95

Calls 1

createContextFunction · 0.85

Tested by

no test coverage detected