wip
This commit is contained in:
1 parent
bca5e9ec23
commit
d954a9fa5c
19 files changed
+5718
-479
No files matched your search
@@ -10,11 +10,11 @@ class LoadPlayerPerformance
|
||||
{
|
||||
public static $last_query = [];
|
||||
|
||||
public static function load($filter)
|
||||
public static function load($filter, bool $hasdots)
|
||||
{
|
||||
if (self::$last_query) {
|
||||
return self::$last_query;
|
||||
}
|
||||
// if (self::$last_query) {
|
||||
// return self::$last_query;
|
||||
// }
|
||||
|
||||
$league_id = (int) $filter['league_id'] ?? 0;
|
||||
|
||||
@@ -77,6 +77,7 @@ class LoadPlayerPerformance
|
||||
'data' => $dataset,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#36A2EB',
|
||||
'pointStyle' => $hasdots,
|
||||
],
|
||||
],
|
||||
'labels' => $labels,
|
||||
|
||||
Reference in new issue
Block a user