I am using version 2019.1.220 with Kendo UI for ASP.NET MVC, having upgraded recently from 2016.1.112, and I am now getting a Javascript error: "n is not a constructor". My chart is fairly simple:
@(Html.Kendo().Chart(Model.Errors)
.Name("AppErrorsChart")
.Title("Error BreakDown By % Frequency?")
.Legend(legend => legend
.Position(ChartLegendPosition.Top)
)
.Series(series =>
{
series.Pie<
int
>(model => model.Count, model => model.Type)
.Labels(labels => labels
.Visible(true)
.Template("#= category # - #= kendo.format('{0:P}', percentage)#")
);
})
.Tooltip(tooltip => tooltip.Visible(true).Template("#= dataItem.Error# (#= value#)").Color("#FFF"))
.Events(e => e.SeriesClick("onCategorySeriesClick").AxisLabelClick("onCategorySeriesClick")
)
)
Here is a Dojo that I created that demonstrates this: https://dojo.telerik.com/OBUzIVif
The error is in kendo.web.js, as shown in the attached screenshot.
Please advise on a course of action. Thank you.