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

Method getContext

src/plugins/plugin.tooltip.js:566–569  ·  view source on GitHub ↗

* @protected

()

Source from the content-addressed store, hash-verified

564 * @protected
565 */
566 getContext() {
567 return this.$context ||
568 (this.$context = createTooltipContext(this.chart.getContext(), this, this._tooltipItems));
569 }
570
571 getTitle(context, options) {
572 const {callbacks} = options;

Callers 5

_resolveAnimationsMethod · 0.95
updateMethod · 0.95
drawMethod · 0.95
acquireContextMethod · 0.45
acquireContextMethod · 0.45

Calls 1

createTooltipContextFunction · 0.85

Tested by

no test coverage detected