From 44609a8659a94caf24bed2f5a55ee75208e8e4aa Mon Sep 17 00:00:00 2001 From: Palash Biswas Date: Wed, 19 Oct 2022 14:51:57 +0530 Subject: [PATCH] Change Index Page --- .../src/BCS.BMC.Web.Mvc/Views/Home/Index.cshtml | 4 ++-- .../wwwroot/view-resources/Views/Home/Index.js | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/BCS.BMC/src/BCS.BMC.Web.Mvc/Views/Home/Index.cshtml b/BCS.BMC/src/BCS.BMC.Web.Mvc/Views/Home/Index.cshtml index e568aaf..a1c0eb0 100644 --- a/BCS.BMC/src/BCS.BMC.Web.Mvc/Views/Home/Index.cshtml +++ b/BCS.BMC/src/BCS.BMC.Web.Mvc/Views/Home/Index.cshtml @@ -25,7 +25,7 @@ -@*
+
@@ -415,4 +415,4 @@
-
*@ +
diff --git a/BCS.BMC/src/BCS.BMC.Web.Mvc/wwwroot/view-resources/Views/Home/Index.js b/BCS.BMC/src/BCS.BMC.Web.Mvc/wwwroot/view-resources/Views/Home/Index.js index ff37bb7..5cd4efc 100644 --- a/BCS.BMC/src/BCS.BMC.Web.Mvc/wwwroot/view-resources/Views/Home/Index.js +++ b/BCS.BMC/src/BCS.BMC.Web.Mvc/wwwroot/view-resources/Views/Home/Index.js @@ -12,8 +12,8 @@ //----------------------- // Get context with jQuery - using jQuery's .get() method. - // var salesChartCanvas = $('#salesChart').get(0).getContext('2d'); - // This will get the first returned node in the jQuery collection. + var salesChartCanvas = $('#salesChart').get(0).getContext('2d'); + // This will get the first returned node in the jQuery collection. var salesChartData = { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'], @@ -83,11 +83,11 @@ }; //Create the line chart - //var salesChart = new Chart(salesChartCanvas, { - // type: 'line', - // data: salesChartData, - // options: salesChartOptions - //}); + var salesChart = new Chart(salesChartCanvas, { + type: 'line', + data: salesChartData, + options: salesChartOptions + }); //--------------------------- //- END MONTHLY SALES CHART -