wip
This commit is contained in:
1 parent
f31ade2707
commit
eae581bb08
1 file changed
+2
@@ -257,6 +257,7 @@ class LoadEvents
|
||||
}
|
||||
}
|
||||
$n = max(count($dataset_home), count($dataset_away), count($dataset_away2), count($dataset_home2));
|
||||
if($n){
|
||||
$f = array_first($labels);
|
||||
$step = round($f / $n);
|
||||
$labels = [];
|
||||
@@ -264,6 +265,7 @@ class LoadEvents
|
||||
$labels[] = $i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// dd($events, array_sum($dataset_home));
|
||||
// dd($events, count($dataset_home), count($dataset_away), count($dataset_home2), count($dataset_away2));
|
||||
|
||||
Reference in new issue
Block a user