Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 96: | Line 96: | ||
setExtremes: function(event) { | setExtremes: function(event) { | ||
if (event.max) { | if (event.max) { | ||
var frequency = Math.floor((event.max - event.min) / | var frequency = Math.floor((event.max - event.min) / 17); | ||
this.options.labels.step = frequency; | this.options.labels.step = frequency; | ||
} else { | } else { |
Revision as of 14:38, 24 September 2013