Fixed graphs in visual console and dashboards. Ticket: #374
This commit is contained in:
parent
8d092ef24d
commit
80edd82cf4
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue