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

Function start

src/plugins/plugin.subtitle.js:9–19  ·  view source on GitHub ↗
(chart, _args, options)

Source from the content-addressed store, hash-verified

7 id: 'subtitle',
8
9 start(chart, _args, options) {
10 const title = new Title({
11 ctx: chart.ctx,
12 options,
13 chart
14 });
15
16 layouts.configure(chart, title, options);
17 layouts.addBox(chart, title);
18 map.set(chart, title);
19 },
20
21 stop(chart) {
22 layouts.removeBox(chart, map.get(chart));

Callers

nothing calls this directly

Calls 2

configureMethod · 0.65
setMethod · 0.65

Tested by

no test coverage detected