Added a condition to small charts

This commit is contained in:
Arturo Gonzalez 2017-06-13 09:45:08 +02:00
parent e237198d06
commit c506c9cce6
1 changed files with 1 additions and 1 deletions

View File

@ -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'];
}