Ejemplo n.º 1
0
        public ActionResult MakePieChart(int ReportID)
        {
            GraphDetails objGraphDetails = new GraphDetails();

            objGraphDetails.GraphType   = "PIE";
            objGraphDetails.IsDrillDown = true;
            #region Call API
            objGraphDetails.ReportID = ReportID;
            objGraphDetails          = objDashboardLogic.GenerateDashboardData(objGraphDetails);
            #endregion
            return(View("~/Views/DashBoard/PartialPieChart.cshtml", objGraphDetails));
        }
Ejemplo n.º 2
0
        public JsonResult MakeChart(int ReportID, string UserName)
        {
            if (!string.IsNullOrEmpty(UserName))
            {
                Username = CrossCutting.CrossCutting_EncryptDecrypt.Decrypt(UserName);
            }
            GraphDetails objGraphDetails = new GraphDetails();
            DashBoardBL  dashBoard       = new DashBoardBL();

            objGraphDetails.ReportID = ReportID;
            objGraphDetails.UserName = Username;
            objGraphDetails          = dashBoard.GenerateDashboardData(objGraphDetails);

            return(Json(objGraphDetails, JsonRequestBehavior.AllowGet));
        }
Ejemplo n.º 3
0
        public GraphDetails GenerateDashboardData(GraphDetails objGraphDetails)
        {
            DashBoardBL objBusiness = new DashBoardBL();

            return(objBusiness.GenerateDashboardData(objGraphDetails));
        }