diff --git a/views/users/users.jade b/views/users/users.jade index 3f9b3bc..f89ef18 100644 --- a/views/users/users.jade +++ b/views/users/users.jade @@ -21,7 +21,7 @@ block content .range([0,w]); var y = d3.scale.linear() - .domain([0,100]) + .domain([0,d3.max([#{chanFreq}])]) .rangeRound([0,h]); var chart = d3.select($("#chanFreqChart")[0]).append("svg")