From 4009dbd6a0ac9938d9f9a786e95b36b56895b225 Mon Sep 17 00:00:00 2001 From: dima117 Date: Tue, 31 Mar 2015 22:06:41 +0300 Subject: [PATCH] helpers.generateLabels throws "labelTemplateString is not defined" exception #1035 --- src/Chart.Core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chart.Core.js b/src/Chart.Core.js index e97693c2d..296844ea2 100755 --- a/src/Chart.Core.js +++ b/src/Chart.Core.js @@ -522,7 +522,7 @@ /* jshint ignore:end */ generateLabels = helpers.generateLabels = function(templateString,numberOfSteps,graphMin,stepValue){ var labelsArray = new Array(numberOfSteps); - if (labelTemplateString){ + if (templateString){ each(labelsArray,function(val,index){ labelsArray[index] = template(templateString,{value: (graphMin + (stepValue*(index+1)))}); }); -- 2.47.2