mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Adjust histogram height downwards
Make room for ranking text
This commit is contained in:
parent
ab1b0cac42
commit
21ccaa2d8a
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ module.exports = class LadderTabView extends CocoView
|
|||
x = d3.scale.linear().domain([-3000,6000]).range([0,width])
|
||||
|
||||
data = d3.layout.histogram().bins(x.ticks(20))(histogramData)
|
||||
y = d3.scale.linear().domain([0,d3.max(data, (d) -> d.y)]).range([height,0])
|
||||
y = d3.scale.linear().domain([0,d3.max(data, (d) -> d.y)]).range([height,10])
|
||||
|
||||
#create the x axis
|
||||
xAxis = d3.svg.axis().scale(x).orient("bottom").ticks(5).outerTickSize(0)
|
||||
|
|
Loading…
Reference in a new issue