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: {