@model GODATA.Models.Report.ReasonForClosureMoreThan24HrsHdLmd @if (Model != null && Model.HdLmdBusCallCLoserModel != null && Model.ReasonCallClosedBeyond24Hrs != null) {
@if (Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser != null && Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser.Count() > 0) { for (int index = 0; index < Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser.Count(); index++) { @(Html.Kendo().Chart().Name("HdLmdBusCallCLoserChart" + index).Theme("Bootstrap").Title(Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser[index].Product.ToString()) .Legend(legend => legend.Position(ChartLegendPosition.Bottom)) .ChartArea(chartArea => chartArea.Background("transparent").Height(250).Width(379)) .SeriesDefaults(seriesDefaults => seriesDefaults.Line().Style(ChartLineStyle.Smooth)) .Series(series => { series.Pie(new dynamic[] { new {category="Call Closed < 24hrs %",value=Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser[index].CallPercentageLess24Hrs, color="#3D9C36"}, new {category="Call closed > 24hrs %",value=Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser[index].CallPercentageBeyond24Hrs,color="#B63838"}, }) .Labels(labels => labels .Template("#= category #: \n #= value#%") .Background("transparent") .Visible(false) ) .StartAngle(150); }) .Tooltip(tooltip => tooltip .Visible(true) .Format("{0}%") )) } } else { }
@if (Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser != null && Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser.Count() > 0) { @foreach (var item in Model.HdLmdBusCallCLoserModel.HdLmdBusCallCLoser) { @if (item.CallPercentageLess24Hrs_.ToString() == "-") { } else if (Convert.ToDouble(item.CallPercentageLess24Hrs_) < 75.00) { } else if ((Convert.ToDouble(item.CallPercentageLess24Hrs_) >= 75.00) && @Convert.ToDouble(item.CallPercentageLess24Hrs_) <= 90.00) { } else if (Convert.ToDouble(item.CallPercentageLess24Hrs_) > 90.00) { } @if (item.CallPercentageBeyond24Hrs_.ToString() == "-") { } else if (Convert.ToDouble(item.CallPercentageBeyond24Hrs_) < 75.00) { } else if ((Convert.ToDouble(item.CallPercentageBeyond24Hrs_) >= 75.00) && @Convert.ToDouble(item.CallPercentageBeyond24Hrs_) <= 90.00) { } else if (Convert.ToDouble(item.CallPercentageBeyond24Hrs_) > 90.00) { } }
LMD and HD - Call Closure %
Product Total Call <24hrs >24hrs Call Closed < 24hrs % Call closed >24hrs %
@item.Product @item.TotalCallCount @item.CallCountLess24Hrs @item.CallCountBeyond24Hrs@item.CallPercentageLess24Hrs_@item.CallPercentageLess24Hrs_@item.CallPercentageLess24Hrs_@item.CallPercentageLess24Hrs_@item.CallPercentageBeyond24Hrs_@item.CallPercentageBeyond24Hrs_@item.CallPercentageBeyond24Hrs_@item.CallPercentageBeyond24Hrs_
} else {

No data available on selected filter !!!

Please select different filter.

}
@if (Model.ReasonCallClosedBeyond24HrsForChart.ReasonWiseCallClosedBeyond24Hrs != null && Model.ReasonCallClosedBeyond24HrsForChart.ReasonWiseCallClosedBeyond24Hrs.Count() > 0) { @(Html.Kendo().Chart().Name("ReasonCallClosedBeyond24HrsChart").Theme("Bootstrap").Title("EOS – Call Contribution") .Legend(legend => legend.Position(ChartLegendPosition.Right)) .ChartArea(chartArea => chartArea.Background("transparent").Height(300)) .SeriesDefaults(seriesDefaults => seriesDefaults.Line().Style(ChartLineStyle.Smooth)) .Series(series => { series.Line(Model.ReasonCallClosedBeyond24HrsForChart.ReasonWiseCallClosedBeyond24Hrs.Select(s => s.HD)).Name("Hd"); series.Line(Model.ReasonCallClosedBeyond24HrsForChart.ReasonWiseCallClosedBeyond24Hrs.Select(s => s.Buses)).Name("Buses"); series.Line(Model.ReasonCallClosedBeyond24HrsForChart.ReasonWiseCallClosedBeyond24Hrs.Select(s => s.LMD)).Name("Lmd"); }) .CategoryAxis(axis => axis.Categories(Model.ReasonCallClosedBeyond24HrsForChart.ReasonWiseCallClosedBeyond24Hrs.Select(s => s.Reason)).MajorGridLines(lines => lines.Visible(false)) .Labels(labels => labels.Rotation(-30))) .ValueAxis(axis => axis.Numeric().Title("Nos").Labels(labels => labels.Format("{0}").Step(4)).Line(line => line.Visible(false)).AxisCrossingValue(-10)) .Tooltip(tooltip => tooltip.Visible(true).Template("#= category # - #= kendo.format('{0:0}', value)#")) .HtmlAttributes(new { style = "width:100%;height:100%;", @class = "revenue-kendo-chart" })) } else { }
@if (Model.ReasonCallClosedBeyond24Hrs.ReasonWiseCallClosedBeyond24Hrs != null && Model.ReasonCallClosedBeyond24Hrs.ReasonWiseCallClosedBeyond24Hrs.Count() > 0) { @foreach (var item in Model.ReasonCallClosedBeyond24Hrs.ReasonWiseCallClosedBeyond24Hrs) { }
Reason for Call closed beyond 24hrs
Reasons Hd Buses Lmd
@item.Reason @item.HD @item.Buses @item.LMD
} else {

No data available on selected filter !!!

Please select different filter.

}
}