diff --git a/src/Chart.Core.js b/src/Chart.Core.js index 689b5aae1..979a91b7c 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -977,7 +977,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();