From 2bfd814ab57b5b961e1e2cb245828f5db6e709ae Mon Sep 17 00:00:00 2001 From: JakeSidSmith Date: Thu, 1 May 2014 15:44:38 +0100 Subject: [PATCH] trueeeee --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index fcb4a4c..a7f11d0 100644 --- a/c3.js +++ b/c3.js @@ -333,7 +333,7 @@ context : function () { return "translate(" + margin2.left + "," + margin2.top + ")"; }, legend : function () { return "translate(" + margin3.left + "," + margin3.top + ")"; }, x : function () { - if (__legend_show) { + if (__legend_show === true) { return "translate(0," + (__axis_rotated ? 0 : height) + ")"; } return "translate(0," + (__axis_rotated ? 0 : currentHeight - margin.top) + ")";