X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=plugins%2Fchart-labels.js;h=af12bcb11ec6db32dacd7d4c31da07137619df4a;hb=a12a78ae06c196aa0d3211ab57b584367504b9a0;hp=5e544dcf154b81282fb0d10181fbbe8987962897;hpb=60c695cc8a5455f37cc996e0cef14e775865dfbe;p=dygraphs.git diff --git a/plugins/chart-labels.js b/plugins/chart-labels.js index 5e544dc..af12bcb 100644 --- a/plugins/chart-labels.js +++ b/plugins/chart-labels.js @@ -23,7 +23,7 @@ chart_labels.prototype.activate = function(g) { return { layout: this.layout, // clearChart: this.clearChart, - drawChart: this.drawChart + didDrawChart: this.didDrawChart }; }; @@ -169,7 +169,7 @@ chart_labels.prototype.layout = function(e) { } }; -chart_labels.prototype.drawChart = function(e) { +chart_labels.prototype.didDrawChart = function(e) { var g = e.dygraph; if (this.title_div_) { this.title_div_.children[0].innerHTML = g.getOption('title');