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

Function reset

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

initializeMethod · 0.45

Tested by

no test coverage detected