-
Selezione tipo (day/week/month/year) + selezione ITEM da mostrare
+
Selezione tipo (day/week/month/year) + selezione ITEM da mostrare, tra quelli POSSIBILI dato periodo...
@foreach (var item in @ParetoData)
{
@@ -29,14 +29,14 @@
- @if (DynMode)
- {
-
- }
- else
- {
-
- }
+ Day
+
+ Week
+
+ Month
+
+ @* Year
+ *@
diff --git a/MP.Stats/Components/ChartTrends.razor.cs b/MP.Stats/Components/ChartTrends.razor.cs
index a135df6b..c0a6fc2d 100644
--- a/MP.Stats/Components/ChartTrends.razor.cs
+++ b/MP.Stats/Components/ChartTrends.razor.cs
@@ -1,7 +1,9 @@
using Microsoft.AspNetCore.Components;
using MP.Data;
+using MP.Data.DbModels;
using MP.Data.Services;
using MP.Stats.Data;
+using System;
using System.Collections.Generic;
using System.Linq;
@@ -12,10 +14,7 @@ namespace MP.Stats.Components
#region Public Properties
[Parameter]
- public bool DynMode { get; set; } = false;
-
- [Parameter]
- public List