mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed N/A warning or critical in module graphs TICKETS #3392
This commit is contained in:
parent
e71402e399
commit
82b34dc847
@ -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…
x
Reference in New Issue
Block a user