diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 44db42dfc..53d515fb8 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -967,7 +967,7 @@ return this; }, generateLegend : function(){ - return template(this.options.legendTemplate,this); + return helpers.template(this.options.legendTemplate, {datasets: this.data.datasets}); }, destroy : function(){ this.clear();