Пример #1
0
        public ActionResult ShowPieChart(PieChartDto pieChartDto)
        {
            var flotr2ChartProvider = new Flotr2ChartProvider();

            var chartResult =  flotr2ChartProvider.GetChartResult(pieChartDto, Flotr2Const.ChartType.Pie);

            return PartialView("~/Views/Chart/Mobile/_Flotr2Chart.cshtml", chartResult);
        }
Пример #2
0
        public ActionResult ShowFormationChart(FormationChartDto formationChartDto)
        {
            var flotr2ChartProvider = new Flotr2ChartProvider();

            var chartResult = flotr2ChartProvider.GetChartResult(formationChartDto, Flotr2Const.ChartType.Formation);

            return PartialView("~/Views/Chart/Mobile/_Flotr2Chart.cshtml", chartResult);
        }