Merge pull request #1334 from thePanz/patch-2

Fix error in generateLegend() function
This commit is contained in:
Evert Timberg
2016-02-20 13:29:32 -05:00

View File

@@ -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();