fixed chart colors
This commit is contained in:
parent
b173cbbcac
commit
7bf616f6b8
@ -31,7 +31,7 @@ var Node = function Node(data)
|
||||
uptime: 0,
|
||||
lastUpdate: 0
|
||||
};
|
||||
this.blockHistory = Array(MAX_HISTORY);
|
||||
this.blockHistory = [];
|
||||
this.uptime = {
|
||||
started: null,
|
||||
history: []
|
||||
|
@ -149,10 +149,10 @@ function StatsCtrl($scope, $filter, socket, _, toastr) {
|
||||
tooltipSuffix: 'ms',
|
||||
colorMap: jQuery.range_map({
|
||||
'0:1': '#10a0de',
|
||||
'1:5000': '#7bcc3a',
|
||||
'5001:12000': '#FFD162',
|
||||
'12001:20000': '#ff8a00',
|
||||
'20001:': '#F74B4B'
|
||||
'1:1000': '#7bcc3a',
|
||||
'1001:3000': '#FFD162',
|
||||
'3001:7000': '#ff8a00',
|
||||
'7001:': '#F74B4B'
|
||||
})
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user