dashboard: start graph on origin
This commit is contained in:
parent
a82a0fb170
commit
0536da2472
1 changed files with 1 additions and 0 deletions
|
@ -253,6 +253,7 @@ angular.module("FICApp", ["ngSanitize", "ngAnimate"])
|
||||||
.call(yAxis);
|
.call(yAxis);
|
||||||
|
|
||||||
angular.forEach(teams, function(rows, tid) {
|
angular.forEach(teams, function(rows, tid) {
|
||||||
|
rows.unshift({time: minDate, points: 0})
|
||||||
var team = $scope.teams[tid]
|
var team = $scope.teams[tid]
|
||||||
chartGroup.append("path")
|
chartGroup.append("path")
|
||||||
.attr("style","fill: none; stroke: " + team.color + "; stroke-width: 2px;")
|
.attr("style","fill: none; stroke: " + team.color + "; stroke-width: 2px;")
|
||||||
|
|
Reference in a new issue