Fix slider axis for small screens

This commit is contained in:
Colin McLeod
2015-06-06 15:19:15 -07:00
parent 0d1fa7904e
commit b449bb3724

View File

@@ -50,6 +50,7 @@ angular.module('app').directive('slider', ['$window', function ($window) {
.scale(x)
.orient("bottom")
.tickFormat(function(d) { return d + unit; })
.ticks(5)
.tickSize(0)
.tickPadding(12))
.select(".domain");