Merge branch '1198-errors-in-boolean-chart-fourth-time-dev' into 'develop'
Added a change to boolean charts See merge request !799
This commit is contained in:
commit
191d6bb0d4
|
@ -3952,8 +3952,7 @@ function grafico_modulo_boolean_data ($agent_module_id, $period, $show_events,
|
|||
$k++;
|
||||
}
|
||||
}
|
||||
html_debug($data2);
|
||||
html_debug($data);
|
||||
|
||||
$data = array_merge($data2, $data);
|
||||
$resolution += $previus_datas_cont;
|
||||
}
|
||||
|
@ -3963,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 && ($resolution > ($config['graph_res'] * 50))) {
|
||||
if ($fullscale) {
|
||||
$timestamp = $data[$i]['utimestamp'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue