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

Function reset

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

Source from the content-addressed store, hash-verified

1324 },
1325
1326 reset(chart, _args, options) {
1327 if (chart.tooltip) {
1328 chart.tooltip.initialize(options);
1329 }
1330 },
1331
1332 afterDraw(chart) {
1333 const tooltip = chart.tooltip;

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected