From cde979d4bb91e8e05b7fc7c0742d88963b6441b7 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Sun, 18 Mar 2012 22:19:31 -0400 Subject: [PATCH] graphs --- web-static/graphs.html | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) 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"); -- 1.7.1