(chart, titleOpts)
| 15957 | }); |
| 15958 | |
| 15959 | function createNewTitleBlockAndAttach(chart, titleOpts) { |
| 15960 | var title = new Title({ |
| 15961 | ctx: chart.ctx, |
| 15962 | options: titleOpts, |
| 15963 | chart: chart |
| 15964 | }); |
| 15965 | |
| 15966 | core_layouts.configure(chart, title, titleOpts); |
| 15967 | core_layouts.addBox(chart, title); |
| 15968 | chart.titleBlock = title; |
| 15969 | } |
| 15970 | |
| 15971 | var plugin_title = { |
| 15972 | id: 'title', |