MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / createNewTitleBlockAndAttach

Function createNewTitleBlockAndAttach

static/plugins/chart.js/Chart.js:15959–15969  ·  view source on GitHub ↗
(chart, titleOpts)

Source from the content-addressed store, hash-verified

15957});
15958
15959function 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
15971var plugin_title = {
15972 id: 'title',

Callers 1

Chart.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected