Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 71: | Line 71: | ||
xAxis: { | xAxis: { | ||
min:20, | min:20, | ||
categories: categories_xAxis, | categories: categories_xAxis, | ||
title: { | title: { | ||
Line 96: | Line 95: | ||
events: { | events: { | ||
setExtremes: function(event) { | setExtremes: function(event) { | ||
if (event.max) { | |||
var frequency = Math.floor((event.max - event.min) / 17); | |||
this.options.labels.step = frequency; | |||
} else { | |||
this.options.labels.step = 1; | |||
} | |||
} | |||
}, | |||
startOnTick: false, | startOnTick: false, | ||
showLastLabel: true | showLastLabel: true | ||
}, | }, | ||
scrollbar: { | |||
enabled: true | |||
}, | }, | ||
yAxis: { | yAxis: { |
Revision as of 13:51, 26 September 2013