title: Multiple Charts on single page RAZOR MVC4
body: <p>I want to show 2 charts on my page; </p>
  
  <p>I tried to apply the code of this answer :<a href="https://stackoverflow.com/questions/16428806/highcharts-multiple-charts-on-a-single-page-using-c-sharp-asp-net-mvc3">answer</a></p>
  
  <p>but the page displays only the last chart added to the list</p>
  
  <p>this is the view : </p>
  
  <pre><code>@model Project.Models.TableauDeBord
  @using DotNet.Highcharts
  
  
  @foreach (Highcharts chart in Model.Charts)
  {
  
          @(chart)
  
  }
  
  
  
  
  @section Scripts {
      @Scripts.Render("~/bundles/HighChart")
  }
  </code></pre>
  
  <p>and action method :</p>
  
  <pre><code>public ActionResult TableauDeBord()
  
          {
  
              Highcharts g1 = new Highcharts("chart");
              g1 = Calcul_Global();
              Highcharts g2 = new Highcharts("chart");
              g2 = TB_Responsable();
  
              TableauDeBord model = new TableauDeBord(); 
              model.Charts = new List&lt;Highcharts&gt;();
  
  
              model.Charts.Add(g1);
             // model.Charts.Add(g2);
  
                  return View(model);
  
          }
  </code></pre>
  
  <p>Any Help Please !</p>