This commit is contained in:
salam committed 2026-06-03 09:57:29 +02:00
1 parent 778504bdcc
commit 7cfb5df2a4
3 files changed
+2 -24

No files matched your search

-11
View File
@@ -71,17 +71,6 @@ class ChartPlayer extends ChartWidget
interaction: {
intersect: false,
},
plugins: {
tooltip: {
callbacks: {
afterLabel: (context) => {
let event = context.dataset.events[context.dataIndex] || '';
let date = context.dataset.dates[context.dataIndex] || '';
return event+' '+ date;
},
}
}
},
scales: {
x: {
title: {
-11
View File
@@ -74,17 +74,6 @@ class ChartPlayerMoAv extends ChartWidget
interaction: {
intersect: false,
},
plugins: {
tooltip: {
callbacks: {
afterLabel: (context) => {
let event = context.dataset.events[context.dataIndex] || '';
let date = context.dataset.dates[context.dataIndex] || '';
return event+' '+ date;
},
}
}
},
scales: {
x: {
title: {
+2 -2
View File
@@ -30,7 +30,7 @@ class LoadPlayer
$statistic_type = $filter['statistic_type'];
$team_position = $filter['team_position'];
$statistic_name = HelperStatisticType::get($filter);
if (! $league_id) {
return [];
@@ -94,7 +94,7 @@ class LoadPlayer
$data = [
'datasets' => [
[
'label' => ucfirst($team_position),
'label' => ucfirst($statistic_name),
'data' => $datasets,
'tension' => 0.5,
'borderColor' => '#36A2EB',