Merge pull request #87 from cubedro/develop

Propagation time curve fixes
This commit is contained in:
Marian OANCΞA 2015-04-23 17:14:28 +03:00
commit 34fa676db5
2 changed files with 2 additions and 3 deletions

View File

@ -342,7 +342,7 @@ svg .bar:hover {
svg .line {
fill: none;
stroke: #ff0000;
stroke-width: 1.2px;
stroke-width: 2px;
shape-rendering: auto;
}

View File

@ -111,7 +111,7 @@ angular.module('netStatsApp.directives', []).
.tickFormat(d3.format("%"));
var line = d3.svg.line()
.x(function(d) { return x(d.x + d.dx); })
.x(function(d) { return x(d.x + d.dx/2); })
.y(function(d) { return y(d.y); })
.interpolate('basis');
@ -125,7 +125,6 @@ angular.module('netStatsApp.directives', []).
// Adjust y axis
y.domain([0, d3.max(data, function(d) { return d.y; })]);
// y.domain([0, 1]);
// Delete previous histogram
element.empty();