I tried below code by adding foreach loop, it looked like it's not allowed to add code inside the Html.ShieldChart, anybody can help? Thanks in advance.
@(Html.ShieldChart()
.Name("chart1")
.Theme("abc")
...
foreach (PercentileRank p in prank)
{
.DataSeries(d => d.Line().Data(p.Ranks).CollectionAlias(p.Division))
}
...
)