From a436bc7cde75a260eae6d445f5a5c9078bf44dc4 Mon Sep 17 00:00:00 2001 From: Sakurai Date: Sun, 9 Feb 2025 11:49:36 +0900 Subject: [PATCH] Fix --- Uriagekun/Views/Good/View.cshtml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Uriagekun/Views/Good/View.cshtml b/Uriagekun/Views/Good/View.cshtml index 3e59e7e..c56f07d 100644 --- a/Uriagekun/Views/Good/View.cshtml +++ b/Uriagekun/Views/Good/View.cshtml @@ -56,6 +56,12 @@ borderColor: 'rgba(255, 0, 0, 1)', backgroundColor: 'rgba(0, 0, 0, 0)', }, + { + label: "純利益", + data: chartData.map(d => d.Count * d.Price), + borderColor: 'rgba(0, 255, 0, 1)', + backgroundColor: 'rgba(0, 0, 0, 0)', + }, ], }, options: {