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

Function reset

src/plugins/plugin.tooltip.js:1240–1244  ·  view source on GitHub ↗
(chart, _args, options)

Source from the content-addressed store, hash-verified

1238 },
1239
1240 reset(chart, _args, options) {
1241 if (chart.tooltip) {
1242 chart.tooltip.initialize(options);
1243 }
1244 },
1245
1246 afterDraw(chart) {
1247 const tooltip = chart.tooltip;

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected