fixed chart blocktime colorcode

pull/5/head
cubedro 9 years ago
parent 6b70370a17
commit f4ce48d4d6
  1. 4
      src/js/script.js

@ -13,8 +13,8 @@
$.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:12': '#7bcc3a',
'12:20': '#FFD162',
'6:13': '#7bcc3a',
'13:20': '#FFD162',
'20:30': '#ff8a00',
'30:': '#F74B4B'
});

Loading…
Cancel
Save