MCPcopy
hub / github.com/chartjs/Chart.js / start

Function start

src/plugins/plugin.legend.js:601–605  ·  view source on GitHub ↗
(chart, _args, options)

Source from the content-addressed store, hash-verified

599 _element: Legend,
600
601 start(chart, _args, options) {
602 const legend = chart.legend = new Legend({ctx: chart.ctx, options, chart});
603 layouts.configure(chart, legend, options);
604 layouts.addBox(chart, legend);
605 },
606
607 stop(chart) {
608 layouts.removeBox(chart, chart.legend);

Callers

nothing calls this directly

Calls 1

configureMethod · 0.65

Tested by

no test coverage detected