@fishawack/lab-d3
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -580,5 +580,7 @@ (function (root, factory) { | ||
var tempHeight = Shared.textHeight(chart, att.label[scale], local[(scale === 'x') ? 'width' : 'height']); | ||
if(scale === 'x'){ | ||
select.call(Shared.wrap, local.width) | ||
.attr("transform", "translate(" + (local.margin.left + (local.width * 0.5)) + ", " + (att.axis.x.flip ? 0 : (local.height + local.margin.top + local.margin.bottom - local.textHeight)) + ")"); | ||
.attr("transform", "translate(" + (local.margin.left + (local.width * 0.5)) + ", " + (att.axis.x.flip ? 0 : (local.height + local.margin.top + local.margin.bottom - tempHeight)) + ")"); | ||
} else { | ||
@@ -585,0 +587,0 @@ select.call(Shared.wrap, local.height) |
{ | ||
"name": "@fishawack/lab-d3", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "Abstract layer built on top of d3", | ||
@@ -5,0 +5,0 @@ "vars": { |
Sorry, the diff of this file is not supported yet
2471351
78383