@model GODATA.Models.Report.CallFeedbackRating
@if (Model != null && Model.CurrentYearEosFeedback != null && Model.PreviousYearEosFeedback != null && Model.CurrentYearEosFeedbackRating != null && Model.PreviousYearEosFeedbackRating != null)
{
@if (Model.CurrentYearEosFeedback != null && Model.CurrentYearEosFeedback.Count() > 0)
{
@(Html.Kendo().Chart().Name("CallFeedbackParamsChart").Theme("Bootstrap").Title("EOS – Opportunity Loss")
.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.CurrentYearEosFeedback.Select(s => s.Category)).Name("Category");
series.Column(Model.CurrentYearEosFeedback.Select(s => s.EasyGettingCall)).Name("EASY TO GETTING CALL CENTER");
series.Column(Model.CurrentYearEosFeedback.Select(s => s.ResponseOfCall)).Name("RESPONSE OF CALL CENTER");
series.Column(Model.CurrentYearEosFeedback.Select(s => s.TimelyUpdation)).Name("TIMELY UPDATION ON REPAIR STATUS");
series.Column(Model.CurrentYearEosFeedback.Select(s => s.RepairTime)).Name("REPAIR TIME");
series.Column(Model.CurrentYearEosFeedback.Select(s => s.EosCharges)).Name("EOS CHARGES");
series.Column(Model.CurrentYearEosFeedback.Select(s => s.OverAllExperience)).Name("OVERALL EXPERIENCE");
})
.CategoryAxis(axis => axis.Categories(Model.CurrentYearEosFeedback.Select(s => s.MonthName)).MajorGridLines(lines => lines.Visible(false)).Labels(labels => labels.Rotation(-30)))
.ValueAxis(axis => axis.Numeric().Title("No.").Labels(labels => labels.Format("{0}").Step(2)).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.CurrentYearEosFeedback != null && Model.CurrentYearEosFeedback.Count() > 0)
{
| EOS Call Feedback Parameters |
|
| Month |
Category |
EASY TO GETTING CALL CENTER |
RESPONSE OF CALL CENTER |
TIMELY UPDATION ON REPAIR STATUS |
REPAIR TIME |
EOS CHARGES |
OVERALL EXPERIENCE |
@foreach (var item in Model.CurrentYearEosFeedback)
{
| @item.MonthName |
@item.Category |
@item.EasyGettingCall |
@item.ResponseOfCall |
@item.TimelyUpdation |
@item.RepairTime |
@item.EosCharges |
@item.OverAllExperience |
}
}
else
{
No data available on selected filter !!!
Please select different filter.
}
@if (Model.PreviousYearEosFeedback != null && Model.PreviousYearEosFeedback.Count() > 0)
{
|
| Month |
Category |
EASY TO GETTING CALL CENTER |
RESPONSE OF CALL CENTER |
TIMELY UPDATION ON REPAIR STATUS |
REPAIR TIME |
EOS CHARGES |
OVERALL EXPERIENCE |
@foreach (var item in Model.PreviousYearEosFeedback)
{
| @item.MonthName |
@item.Category |
@item.EasyGettingCall |
@item.ResponseOfCall |
@item.TimelyUpdation |
@item.RepairTime |
@item.EosCharges |
@item.OverAllExperience |
}
}
else
{
No data available on selected filter !!!
Please select different filter.
}
@if (Model.CurrentYearEosFeedbackRating != null && Model.CurrentYearEosFeedbackRating.Count() > 0)
{
@(Html.Kendo().Chart().Name("CallFeedBackRatingChart").Theme("Bootstrap").Title("TOP 02 Score %")
//.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.CurrentYearEosFeedbackRating.Select(s => s.Eos));
//series.Column(new object[] {
// Model.CurrentYearEosFeedbackRating[0].Eos,
// Model.CurrentYearEosFeedbackRating[0].DealerTakingTooMuchTime,
// Model.CurrentYearEosFeedbackRating[0].Other,
// Model.CurrentYearEosFeedbackRating[0].EosChargesHigh
// //Model.OpportunityLoss.EosOpportunityLoss[0].GrandTotal
//});
})
.CategoryAxis(axis => axis.Categories(Model.CurrentYearEosFeedbackRating.Select(s => s.MonthName)).MajorGridLines(lines => lines.Visible(false)).Labels(labels => labels.Rotation(-30)))
.ValueAxis(axis => axis.Numeric().Title("No.").Labels(labels => labels.Format("{0}").Step(2)).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.CurrentYearEosFeedbackRating != null && Model.CurrentYearEosFeedbackRating.Count() > 0)
{
| EOS Call Feedback Rating % |
|
| Category |
@foreach (var item in Model.CurrentYearEosFeedbackRating)
{
@item.MonthName |
}
| EOS |
@foreach (var item in Model.CurrentYearEosFeedbackRating)
{
@item.Eos |
}
}
else
{
No data available on selected filter !!!
Please select different filter.
}
@if (Model.PreviousYearEosFeedbackRating != null && Model.PreviousYearEosFeedbackRating.Count() > 0)
{
|
| Category |
@foreach (var item in Model.PreviousYearEosFeedbackRating)
{
@item.MonthName |
}
| EOS |
@foreach (var item in Model.PreviousYearEosFeedbackRating)
{
@item.Eos |
}
}
else
{
No data available on selected filter !!!
Please select different filter.
}
}