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