From: Forrest Voight Date: Mon, 19 Mar 2012 02:19:31 +0000 (-0400) Subject: graphs X-Git-Tag: 0.10.0~19 X-Git-Url: https://git.novaco.in/?a=commitdiff_plain;h=cde979d4bb91e8e05b7fc7c0742d88963b6441b7;hp=f61f659dbff36abd289985bb0ed7c9babe4fc88f;p=p2pool.git graphs --- diff --git a/web-static/graphs.html b/web-static/graphs.html index b7963ba..3526c93 100644 --- a/web-static/graphs.html +++ b/web-static/graphs.html @@ -94,10 +94,9 @@ .attr("d", line(data)) .attr("class", "rate"); - if(dead_data) - g.append("svg:path") - .attr("d", line(dead_data)) - .attr("class", "deadrate"); + g.append("svg:path") + .attr("d", line(dead_data)) + .attr("class", "deadrate"); g.append("svg:line") @@ -143,7 +142,7 @@ .data(y.ticks(6)) .enter().append("svg:text") .text(d3.format(".3s")) - .attr("x", margin - 2.5) + .attr("x", margin) .attr("y", y) .attr("dominant-baseline", "central") .attr("text-anchor", "middle");