diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 1505fd3a5b..7265712868 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -1176,6 +1176,9 @@ function graphic_combined_module ($module_list, $weight_list, $period, $datelimit = $date - $period; $resolution = $config['graph_res'] * 50; //Number of points of the graph + if($resolution > $period){ + $resolution = $period; + } $interval = (int) ($period / $resolution); // If projection graph, fill with zero previous data to projection interval