wip
This commit is contained in:
1 parent
e01400d65b
commit
eea1a8de4e
3 files changed
+14
-7
No files matched your search
@@ -182,15 +182,16 @@ class Statistic extends BaseDashboard
|
||||
'all' => 'All Database',
|
||||
]),
|
||||
Slider::make('accuracy')
|
||||
->label('Accuracy max: 0.25, steps: 0.025')
|
||||
->hiddenLabel()
|
||||
->disabled(fn (Get $get) => $get('similar_past_matches') == 'none')
|
||||
// ->fillTrack()
|
||||
->default(5)
|
||||
->step(0.1)
|
||||
->range(minValue: 0, maxValue: 0.25)
|
||||
->step(0.025)
|
||||
->decimalPlaces(1)
|
||||
->decimalPlaces(3)
|
||||
->tooltips()
|
||||
->range(minValue: 0, maxValue: 1)
|
||||
->pips()
|
||||
// ->pips()
|
||||
->live(),
|
||||
Select::make('tm_player_id')
|
||||
->label('Player')
|
||||
|
||||
@@ -73,7 +73,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#fb2c36',
|
||||
'backgroundColor' => '#c10007',
|
||||
'backgroundColor' => '#fb2c36',
|
||||
],
|
||||
[
|
||||
'label' => 'Defence',
|
||||
@@ -81,6 +81,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#c10007',
|
||||
'backgroundColor' => '#c10007',
|
||||
'fill' => false,
|
||||
],
|
||||
[
|
||||
@@ -89,6 +90,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#c10007',
|
||||
'backgroundColor' => '#c10007',
|
||||
'fill' => false,
|
||||
],
|
||||
[
|
||||
@@ -97,6 +99,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#c10007',
|
||||
'backgroundColor' => '#c10007',
|
||||
'fill' => false,
|
||||
],
|
||||
[
|
||||
@@ -105,7 +108,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#fdc700',
|
||||
'backgroundColor' => '#a65f00',
|
||||
'backgroundColor' => '#fdc700',
|
||||
'fill' => false,
|
||||
],
|
||||
[
|
||||
@@ -114,6 +117,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#d08700',
|
||||
'backgroundColor' => '#d08700',
|
||||
'fill' => false,
|
||||
],
|
||||
[
|
||||
@@ -122,6 +126,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#d08700',
|
||||
'backgroundColor' => '#d08700',
|
||||
'fill' => false,
|
||||
],
|
||||
[
|
||||
@@ -130,6 +135,7 @@ class LoadPerformance
|
||||
'spanGaps' => true,
|
||||
'tension' => 0.5,
|
||||
'borderColor' => '#d08700',
|
||||
'backgroundColor' => '#d08700',
|
||||
'fill' => false,
|
||||
],
|
||||
],
|
||||
|
||||
@@ -25,7 +25,7 @@ class StatsMedianAverage extends StatsOverviewWidget
|
||||
|
||||
protected function getStats(): array
|
||||
{
|
||||
$data = LoadEvents::load($this->filters, 'Events');
|
||||
$data = LoadEvents::load($this->filters);
|
||||
|
||||
$statistic_type = ucfirst(HelperStatisticType::get($this->filters));
|
||||
|
||||
|
||||
Reference in new issue
Block a user