@model GODATA.Models.Report.TimeslotClosure
@if (Model != null)
{
@if (Model.TimeSlotClouserDetailList != null && Model.TimeSlotClouserDetailList.Count() > 0)
{
@(Html.Kendo().Chart().Name("TimeslorClosureChart").Theme("Bootstrap").Title("Timeslot Closure")
.Legend(legend => legend.Position(ChartLegendPosition.Right))
.ChartArea(chartArea => chartArea.Background("transparent").Height(300))
.SeriesDefaults(seriesDefaults => seriesDefaults.Line().Style(ChartLineStyle.Smooth))
.Series(series =>
{
series.Column(Model.TimeSlotClouserDetailList.Select(s => s.Less24Hrs)).Name("<= 2 Hrs");
series.Column(Model.TimeSlotClouserDetailList.Select(s => s.Calls24HrsTo48Hrs)).Name("> 2 Hrs to 6 Hrs");
series.Column(Model.TimeSlotClouserDetailList.Select(s => s.Calls48HrsTo72Hrs)).Name("> 6 Hrs to 10 Hrs");
series.Column(Model.TimeSlotClouserDetailList.Select(s => s.Calls72HrsTo96Hrs)).Name("> 10 Hrs to 24 Hrs");
series.Column(Model.TimeSlotClouserDetailList.Select(s => s.Greater96Hrs)).Name("> 24 Hrs");
series.Line(Model.TimeSlotClouserDetailList.Select(s => s.GrandTotal)).Name("Grand Total");
})
.CategoryAxis(axis => axis.Categories(Model.TimeSlotClouserDetailList.Select(s => s.TimeSlot)).MajorGridLines(lines => lines.Visible(false)).Labels(labels => labels.Rotation(-30)))
.ValueAxis(axis => axis.Numeric().Title("No.").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.TimeSlotClouserDetailList != null && Model.TimeSlotClouserDetailList.Count() > 0)
{
| EOS Call – Timing Slot Wise Closure |
|
| Time Slot |
<= 2 Hrs |
> 2 Hrs to 6 Hrs |
> 6 Hrs to 10 Hrs |
> 10 Hrs to 24 Hrs |
> 24 Hrs |
Grand Total |
| No. |
% |
No. |
% |
No. |
% |
No. |
% |
No. |
% |
@foreach (var item in Model.TimeSlotClouserDetailList)
{
| @item.TimeSlot |
@item.Less24Hrs |
@item.Less24HrsPer |
@item.Calls24HrsTo48Hrs |
@item.Calls24HrsTo48HrsPer |
@item.Calls48HrsTo72Hrs |
@item.Calls48HrsTo72HrsPer |
@item.Calls72HrsTo96Hrs |
@item.Calls72HrsTo96HrsPer |
@item.Greater96Hrs |
@item.Greater96HrsPer |
@item.GrandTotal |
}
}
else
{
No data available on selected filter !!!
Please select different filter.
}
}