Fixed height on module graph when no resize is needed
This commit is contained in:
parent
ee932946cc
commit
0ce0d7a61c
|
@ -1946,6 +1946,11 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
|
|||
$.extend(true, {}, options, {
|
||||
yaxis: {max: maxim_data + (maxim_data*0.5)},
|
||||
}));
|
||||
} else {
|
||||
plot = $.plot($('#' + graph_id), data_base,
|
||||
$.extend(true, {}, options, {
|
||||
yaxis: {max: plot.getAxes().yaxis.max},
|
||||
}));
|
||||
}
|
||||
datas = add_threshold (data_base, threshold_data, plot.getAxes().yaxis.min, plot.getAxes().yaxis.max,
|
||||
yellow_threshold, red_threshold, extremes, red_up);
|
||||
|
|
Loading…
Reference in New Issue