this.ensureScalesHaveIDs();
this.buildOrUpdateControllers();
this.buildScales();
- this.buildSurroundingItems();
this.updateLayout();
this.resetElements();
this.initToolTip();
Chart.scaleService.addScalesToLayout(this);
},
- buildSurroundingItems: function() {
- /*if (this.options.title) {
- this.titleBlock = new Chart.Title({
- ctx: this.chart.ctx,
- options: this.options.title,
- chart: this
- });
-
- Chart.layoutService.addBox(this, this.titleBlock);
- }*/
- },
-
updateLayout: function() {
Chart.layoutService.update(this, this.chart.width, this.chart.height);
},