Fixed N/A warning or critical in module graphs TICKETS #3392
This commit is contained in:
parent
451cb84606
commit
8a63ef220e
|
@ -954,6 +954,10 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
|
|||
// showed[i] = true;
|
||||
}
|
||||
|
||||
// If threshold and up are the same, that critical or warning is disabled
|
||||
if (yellow_threshold == yellow_up) yellow_inverse = false;
|
||||
if (red_threshold == red_up) red_inverse = false;
|
||||
|
||||
//Array with points to be painted
|
||||
var threshold_data = new Array();
|
||||
//Array with some interesting points
|
||||
|
|
Loading…
Reference in New Issue