Merge pull request #272 from cubedro/develop

updated block time colors
This commit is contained in:
Marian OANCΞA 2015-08-25 12:34:07 +03:00
commit eb5a0ea7c5

View File

@ -13,10 +13,10 @@
$.fn.sparkline.defaults.bar.tooltipFormat = $.spformat('<div class="tooltip-arrow"></div><div class="tooltip-inner">{{prefix}}{{value}} {{suffix}}</div>');
$.fn.sparkline.defaults.bar.colorMap = $.range_map({
'0:6': '#10a0de',
'6:13': '#7bcc3a',
'13:20': '#FFD162',
'20:30': '#ff8a00',
'30:': '#F74B4B'
'6:15': '#7bcc3a',
'15:40': '#FFD162',
'40:60': '#ff8a00',
'60:': '#F74B4B'
});
moment.relativeTimeThreshold('s', 60);