protected void Page_Load(object sender, EventArgs e) { pnSales.Width = Width; //pnSalesChart.Width = Convert.ToInt32(Width); //pnProfitChart.Width = Convert.ToInt32(Width); prog = OrderStatisticsService.GetMonthProgress(); }
protected void Page_Load(object sender, EventArgs e) { var plannedSales = OrderStatisticsService.SalesPlan; sales = OrderStatisticsService.GetMonthProgress().Key; planPercent = Math.Round(sales / (plannedSales / 100)); }