From 40953e13c5c20141313cfa5178ef72b6906e1f7a Mon Sep 17 00:00:00 2001 From: JakeSidSmith Date: Thu, 1 May 2014 15:54:45 +0100 Subject: [PATCH] Something borrowed something blue --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index a7f11d0..5cb974b 100644 --- a/c3.js +++ b/c3.js @@ -336,7 +336,7 @@ if (__legend_show === true) { return "translate(0," + (__axis_rotated ? 0 : height) + ")"; } - return "translate(0," + (__axis_rotated ? 0 : currentHeight - margin.top) + ")"; + return "translate(0," + (__axis_rotated ? 0 : height + margin3.top) + ")"; }, y : function () { return "translate(0," + (__axis_rotated ? height : 0) + ")"; }, y2 : function () { return "translate(" + (__axis_rotated ? 0 : width) + "," + (__axis_rotated ? 1 : 0) + ")"; },