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); | ||
}); | }); | ||
//380101 800026 962043 943D57 A60223 BA0002 BD0026 C40608 E31A1C FC4E2A FD8D3C FEB24C FED976 FFEDA0 | |||
function getColor(d) { | function getColor(d) { | ||
return d > 100 ? '# | return d > 100 ? '#380101' : | ||
d > 80 ? '# | d > 80 ? '#800026' : | ||
d > 70 ? '# | d > 70 ? '#962043' : | ||
d > 50 ? '# | d > 50 ? '#943D57' : | ||
d > 30 ? '# | d > 40 ? '#A60223': | ||
d > 20 ? '# | d > 30 ? '#BA0002' : | ||
d > 10 ? '# | d > 20 ? '#BD0026' : | ||
'# | d > 15 ? '#C40608': | ||
d > 10 ? '#E31A1C': | |||
d > 7 ? '#FC4E2A': | |||
d > 5 ? '#FD8D3C': | |||
d > 2 ? '#FEB24C': | |||
'#FED976'; | |||
} | } | ||
Revision as of 10:52, 24 September 2013