Make charts responsive to params.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace CarCareTracker.Models
|
||||
{
|
||||
public class GasCostForVehicleByMonth
|
||||
public class CostForVehicleByMonth
|
||||
{
|
||||
public string MonthName { get; set; }
|
||||
public decimal Cost { get; set; }
|
||||
10
Models/Report/ReminderMakeUpForVehicle.cs
Normal file
10
Models/Report/ReminderMakeUpForVehicle.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace CarCareTracker.Models
|
||||
{
|
||||
public class ReminderMakeUpForVehicle
|
||||
{
|
||||
public int NotUrgentCount { get; set; }
|
||||
public int UrgentCount { get; set; }
|
||||
public int VeryUrgentCount { get; set; }
|
||||
public int PastDueCount { get; set; }
|
||||
}
|
||||
}
|
||||
10
Models/Report/ReportViewModel.cs
Normal file
10
Models/Report/ReportViewModel.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace CarCareTracker.Models
|
||||
{
|
||||
public class ReportViewModel
|
||||
{
|
||||
public List<CostForVehicleByMonth> CostForVehicleByMonth { get; set; } = new List<CostForVehicleByMonth>();
|
||||
public CostMakeUpForVehicle CostMakeUpForVehicle { get; set; } = new CostMakeUpForVehicle();
|
||||
public ReminderMakeUpForVehicle ReminderMakeUpForVehicle { get; set; } = new ReminderMakeUpForVehicle();
|
||||
public List<int> Years { get; set; } = new List<int>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user