title: multiple series in column chart asp.net 4.0
body: <p>I am trying to create a StackedColumn chart in my asp.net application. So I have a datatable like this - </p>
  
  <pre><code>            DataTable dtTemp = new DataTable();
              dtTemp.Columns.Add("Phase", typeof(string));
              dtTemp.Columns.Add("Status", typeof(string));
              dtTemp.Columns.Add("Count", typeof(int));
  
              dtTemp.Rows.Add("Initiate", "Pending", 10
              dtTemp.Rows.Add("Initiate", "OnHold", 20);
              dtTemp.Rows.Add("Initiate", "Rejected", 3);
              dtTemp.Rows.Add("Initiate", "Cancelled", 5);
              dtTemp.Rows.Add("Initiate", "Pending IT", 2);
              dtTemp.Rows.Add("Setup", "Setup", 25);
  </code></pre>
  
  <p>Now I want the chart to display 2 column, first column will show the Initiate phase data with different status data. And 2nd column will show setup phase data. I have tried like this - </p>
  
  <pre><code>foreach (DataRow row in dtTemp.Rows)
              {
                  string seriesName = row["Status"].ToString();
                  chart_ProjectStatus.Series.Add(seriesName);
                  chart_ProjectStatus.Series[seriesName].ChartType = SeriesChartType.StackedColumn;
                  chart_ProjectStatus.Series[seriesName].ChartArea = "ChartArea1";
                  chart_ProjectStatus.Series[seriesName].CustomProperties = "DrawingStyle=Cylinder, MaxPixelPointWidth=50";
  
                  chart_ProjectStatus.Series[seriesName].Points.AddXY(row["Phase"].ToString(), Convert.ToInt32(row["Count"].ToString()));
              }
  </code></pre>
  
  <p>But I am getting only one column - </p>
  
  <p><img src="https://i.stack.imgur.com/Q0o7N.png" alt="enter image description here"></p>
  
  <p>Please some one help me.</p>
  
  <p>Thanks in advance
  Gulrej</p>