Fixed values and graphs in visual consoles.

This commit is contained in:
m-lopez-f 2017-02-28 12:25:06 +01:00
parent d95cd086d2
commit d83981ef5d
2 changed files with 2 additions and 2 deletions

View File

@ -1603,7 +1603,7 @@ function pandoraFlotArea(graph_id, values, labels, labels_long, legend,
// Adjust linked graph to the width and position of the main plot // Adjust linked graph to the width and position of the main plot
// Miniplot // Miniplot
if ( !dashboard ) { if ( !dashboard || !vconsole ) {
var overview = $.plot($('#overview_'+graph_id),datas, { var overview = $.plot($('#overview_'+graph_id),datas, {
series: { series: {
stack: stacked, stack: stacked,

View File

@ -42,7 +42,7 @@ else {
} }
$refr = (int) get_parameter ('refr', $config['vc_refr']); $refr = (int) get_parameter ('refr', $config['vc_refr']);
$graph_javascript = (bool) get_parameter ('graph_javascript', false); $graph_javascript = (bool) get_parameter ('graph_javascript', true);
$vc_refr = false; $vc_refr = false;
if (isset($config['vc_refr']) and $config['vc_refr'] != 0) if (isset($config['vc_refr']) and $config['vc_refr'] != 0)