diff --git a/Parking_spaces/Views/Manager/Manager_Violation.cshtml b/Parking_spaces/Views/Manager/Manager_Violation.cshtml
index 2cff8cd..28786d4 100644
--- a/Parking_spaces/Views/Manager/Manager_Violation.cshtml
+++ b/Parking_spaces/Views/Manager/Manager_Violation.cshtml
@@ -20,7 +20,10 @@
-
+
|
@@ -176,10 +179,10 @@
var myBarChart = new Chart(ctx, {
type: 'bar',
data: {
- labels: date.reverse(),
+ labels: date,
datasets: [{
label: '違規數量',
- data: values.reverse(),
+ data: values,
backgroundColor: 'rgba(255, 0, 0, 0.5)', // 設定半透明的紅色背景
borderColor: 'rgba(255, 0, 0, 1)', // 設定不透明的紅色邊框
borderWidth: 1
@@ -360,6 +363,45 @@
+
+
diff --git a/Parking_spaces/Views/Manager/Single_violation_detail.cshtml b/Parking_spaces/Views/Manager/Single_violation_detail.cshtml
index 2c8b6e1..d8bde09 100644
--- a/Parking_spaces/Views/Manager/Single_violation_detail.cshtml
+++ b/Parking_spaces/Views/Manager/Single_violation_detail.cshtml
@@ -12,7 +12,16 @@
起始時間 :
結束時間 :
+
+
+
@@ -304,6 +313,91 @@
}
+
+
+
+
+
+
+