Fixed graphs in visual console and dashboards. Ticket: #374

This commit is contained in:
m-lopez-f 2017-03-01 08:26:10 +01:00
parent 8d092ef24d
commit 80edd82cf4
1 changed files with 2 additions and 1 deletions

View File

@ -1577,6 +1577,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
}
var stack = 0, bars = true, lines = false, steps = false;
var plot = $.plot($('#' + graph_id), datas, options);
// Re-calculate the graph height with the legend height
@ -1603,7 +1604,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
// Adjust linked graph to the width and position of the main plot
// Miniplot
if ( !dashboard || !vconsole ) {
if ( !dashboard && !vconsole) {
var overview = $.plot($('#overview_'+graph_id),datas, {
series: {
stack: stacked,