It seems you need table or list to show more then one result:

@foreach (Highcharts chart in Model.Charts)

       <li> @(chart)</li>


@foreach (Highcharts chart in Model.Charts)

       <tr> <td>@(chart)</td></tr>



From your code you have commented out // model.Charts.Add(g2); so it seems to me only one chart is added to the model

Make sure the chart names are unique in your method for generating each chart ie. Highcharts chart = new Highcharts("chart2")

I imagine in your case the methods for generating the charts both read Highcharts chart = new Highcharts("chart")

Related Query

More Query from same tag