mirror of
https://github.com/reality/dbot.git
synced 2024-11-23 20:39:25 +01:00
d3.max domain [#216][Untested]
This commit is contained in:
parent
bc124e50c5
commit
26a10513e0
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user