centred beizer curve on bars
This commit is contained in:
parent
073fe17a4d
commit
04e368b161
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user