Skip to content

Commit

Permalink
public: tuning chart style
Browse files Browse the repository at this point in the history
  • Loading branch information
hackmod committed May 5, 2018
1 parent f84ba91 commit 4f1f09c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions public/css/stats.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ text.shadow {

path {
stroke: steelblue;
stroke-width: 2;
stroke-width: 1;
fill: none;
}

Expand Down Expand Up @@ -48,6 +48,8 @@ path {

path.slice{
stroke-width:2px;
stroke: #3a3a3a;
opacity: .7;
}

polyline{
Expand Down Expand Up @@ -80,5 +82,5 @@ path {
text-align: center;
}
text {
font: 12px sans-serif;
font: 12px "Helvetica Neue", Helvetica, Arial, sans-serif;
}
5 changes: 2 additions & 3 deletions public/js/controllers/StatsController.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ angular.module('BlocksApp').controller('StatsController', function($stateParams,
.style('fill', function (d,i) {
//console.log(i);
return color(d._id);
})
.style('stroke', color);
});

legend.append('text')

Expand Down Expand Up @@ -310,7 +309,7 @@ angular.module('BlocksApp').controller('StatsController', function($stateParams,
return d3.svg.axis()
.scale(x)
.orient("bottom")
.ticks(8)
.ticks(30)
}

// function for the y grid lines
Expand Down

0 comments on commit 4f1f09c

Please sign in to comment.