From c506c9cce6035d80f3471cb38bdd914730089102 Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Tue, 13 Jun 2017 09:45:08 +0200 Subject: [PATCH] Added a condition to small charts --- pandora_console/include/functions_graph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 890660617d..dd5fa38883 100644 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -256,7 +256,7 @@ function grafico_modulo_sparse_data_chart (&$chart, &$chart_data_extra, &$long_i for ($i = 0; $i <= $resolution; $i++) { $timestamp = $datelimit + ($interval * $i); - if ($fullscale) { + if ($fullscale && $resolution > 250) { $timestamp = $data[$i]['utimestamp']; }