Remove unused code from core controller.

This commit is contained in:
Evert Timberg
2016-05-25 21:30:22 -04:00
parent d6289c6129
commit 46fc96bf4d

View File

@@ -53,7 +53,6 @@ module.exports = function(Chart) {
this.ensureScalesHaveIDs();
this.buildOrUpdateControllers();
this.buildScales();
this.buildSurroundingItems();
this.updateLayout();
this.resetElements();
this.initToolTip();
@@ -166,18 +165,6 @@ module.exports = function(Chart) {
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);
},