This question is locked. New answers and comments are not allowed.
I was trying to test the chart component, but I got a StackOverflowException. The problem only occurs with Line series.
Code to reproduce:
Code to reproduce:
var a= new List<int>(); a.Add(1); a.Add(2); a.Add(3); a.Add(4); var b= new List<int>(); b.Add(2); b.Add(3); b.Add(4); b.Add(5); var cat= new List<string>(); cat.Add("1ª"); cat.Add("2ª"); cat.Add("3ª"); cat.Add("4ª"); Html.Telerik().Chart() .Name("chart") .Series(series => { series.Line(a) .Name("A"); series.Line(b) .Name("B"); }) .CategoryAxis(category => { category.Categories(cat); }) .Legend(legend => { legend.Position(ChartLegendPosition.Bottom); }) .HtmlAttributes(new { style = "width: 600px; height: 400px;" }).Render();