fixed chart blocktime colorcode
This commit is contained in:
parent
6b70370a17
commit
f4ce48d4d6
@ -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.tooltipFormat = $.spformat('<div class="tooltip-arrow"></div><div class="tooltip-inner">{{prefix}}{{value}} {{suffix}}</div>');
|
||||||
$.fn.sparkline.defaults.bar.colorMap = $.range_map({
|
$.fn.sparkline.defaults.bar.colorMap = $.range_map({
|
||||||
'0:6': '#10a0de',
|
'0:6': '#10a0de',
|
||||||
'6:12': '#7bcc3a',
|
'6:13': '#7bcc3a',
|
||||||
'12:20': '#FFD162',
|
'13:20': '#FFD162',
|
||||||
'20:30': '#ff8a00',
|
'20:30': '#ff8a00',
|
||||||
'30:': '#F74B4B'
|
'30:': '#F74B4B'
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user