Merge pull request #87 from cubedro/develop
Propagation time curve fixes
This commit is contained in:
commit
34fa676db5
@ -342,7 +342,7 @@ svg .bar:hover {
|
||||
svg .line {
|
||||
fill: none;
|
||||
stroke: #ff0000;
|
||||
stroke-width: 1.2px;
|
||||
stroke-width: 2px;
|
||||
shape-rendering: auto;
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user