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

Function stop

src/plugins/plugin.legend.js:607–610  ·  view source on GitHub ↗
(chart)

Source from the content-addressed store, hash-verified

605 },
606
607 stop(chart) {
608 layouts.removeBox(chart, chart.legend);
609 delete chart.legend;
610 },
611
612 // During the beforeUpdate step, the layout configuration needs to run
613 // This ensures that if the legend position changes (via an option update)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected