Merge branch '1198-rev_final' into 'develop'

boolean graphs

See merge request 
This commit is contained in:
vgilc 2017-09-07 18:16:05 +02:00
commit 03032874b5
1 changed files with 1 additions and 1 deletions
pandora_console/include

View File

@ -3962,7 +3962,7 @@ function grafico_modulo_boolean_data ($agent_module_id, $period, $show_events,
for ($i = 0; $i <= $resolution; $i++) {
$timestamp = $datelimit + ($interval * $i);
if ($fullscale) {
if ($fullscale && ($resolution > ($config['graph_res'] * 50))) {
$timestamp = $data[$i]['utimestamp'];
}