Template:PeakCountPerSample: Difference between revisions
From FANTOM5_SSTAR
No edit summary |
No edit summary |
||
Line 197: | Line 197: | ||
var chart = new Highcharts.Chart(options); | var chart = new Highcharts.Chart(options); | ||
}); | }); | ||
function getColor(d) { | function getColor(d) { | ||
return d > 100 ? '# | return d > 100 ? '#FC0303' : | ||
d > 80 ? '# | d> 90 ? '#FC1304' : | ||
d > 70 ? '# | d > 80 ? '#FC3408' : | ||
d > 50 ? '# | d > 70 ? '#FC550B' : | ||
d > 40 ? '# | d > 50 ? '#FC740F' : | ||
d > 30 ? '# | d > 40 ? '#FC9312' : | ||
d > 20 ? '# | d > 30 ? '#FCB016' : | ||
d > 15 ? '# | d > 20 ? '#FCCD19' : | ||
d > 10 ? '# | d > 15 ? '#FCE91D' : | ||
d > 7 ? '#FD8D3C': | d > 10 ? '#F5FC21' : | ||
d > 5 ? '#FEB24C': | d > 7 ? '#FD8D3C' : | ||
d > 2 ? '#FED976': | d > 5 ? '#FEB24C' : | ||
d > 2 ? '#FED976' : | |||
'#FFEDA0'; | '#FFEDA0'; | ||
} | } |
Revision as of 11:36, 24 September 2013