Fix process chart, total processes number needs to be plotted not the difference
This commit is contained in:
parent
34f34e1619
commit
2c6d9d1c18
@ -343,11 +343,10 @@ $(function() {
|
||||
}
|
||||
});
|
||||
// get data based on chart type
|
||||
if(type == 'proc') {
|
||||
line1 = [ret.x, ret.y_proc - previous_line1];
|
||||
line2 = [ret.x, ret.y_conn - previous_line2];
|
||||
previous_line1 = ret.y_proc;
|
||||
previous_line2 = ret.y_conn;
|
||||
if(type == 'proc') {
|
||||
line1 = [ret.x, ret.y_conn - previous_line1];
|
||||
line2 = [ret.x, ret.y_proc];
|
||||
previous_line1 = ret.y_conn;
|
||||
}
|
||||
else if(type == 'queries') {
|
||||
line1 = [ret.x, ret.y-previous_line1];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user