From 16dd1acd8b1fc5b54c2399cb507467fed564640b Mon Sep 17 00:00:00 2001 From: JakeSidSmith Date: Thu, 1 May 2014 15:16:37 +0100 Subject: [PATCH] Offset x axis by 50 --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index 945d823..69df706 100644 --- a/c3.js +++ b/c3.js @@ -354,7 +354,7 @@ yAxis = (transitions && transitions.axisY) ? transitions.axisY : main.select('.' + CLASS.axisY).transition().duration(duration), y2Axis = (transitions && transitions.axisYs) ? transitions.axisY2 : main.select('.' + CLASS.axisY2).transition().duration(duration); main.attr("transform", translate.main); - xAxis.attr("transform", translate.x); + xAxis.attr("transform", 50); yAxis.attr("transform", translate.y); y2Axis.attr("transform", translate.y2); main.select('.' + CLASS.chartArcs).attr("transform", translate.arc);