(chart, _args, options)
| 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)); |