Return non-scaled value as title, idiot [#216]

This commit is contained in:
Sam Nicholls 2013-01-25 11:08:35 +00:00
parent 26a10513e0
commit 55c490f50f

View File

@ -36,7 +36,7 @@ block content
.attr("y", function(d) { return h - y(d) - .5; }) .attr("y", function(d) { return h - y(d) - .5; })
.attr("width", w) .attr("width", w)
.attr("height", function(d) { return y(d); }) .attr("height", function(d) { return y(d); })
.attr("title", function(d){ return y(d); }); .attr("title", function(d){ return d; });
chart.append("line") chart.append("line")
.attr("x1", 0) .attr("x1", 0)