Example #1
0
        public IActionResult Index()
        {
            List <StackedBarChartData> chartData = _analyticService.GetAnnualChart(DateTime.Now.ToString("yyyy"));

            ViewBag.dataSource = chartData;
            ViewBag.userAmount = _analyticService.GetTotalUsers();
            return(View());
        }