title: binding data with 3d cylinder chart using asp.net 3.5
body: <p>My data:</p>
  
  <blockquote>
    <p><strong>Product_C</strong>======   <strong>Product_B</strong>====== <strong>product_A</strong>====== <strong>Month</strong> <br> 124=========== 101=============== 60 =============   Feb <br>
    123============99=============== 59==============March<br> 130===========
    100============= 70==============April<br></p>
  </blockquote>
  
  <p><em>is it clear</em>  ;-) *?**
  <br>
  the aspx code:</p>
  
  <pre><code>&lt;asp:CHART id="Chart1" runat="server"&gt;
  &lt;series&gt;
      &lt;asp:Series ChartArea="ChartArea1" Name="product_A" &gt;
  &lt;/asp:Series&gt;
  &lt;asp:Series ChartArea="ChartArea1" Name="product_B"&gt;
      &lt;/asp:Series&gt;
      &lt;asp:Series ChartArea="ChartArea1" Name="product_C"&gt;
      &lt;/asp:Series&gt;
      &lt;/series&gt;
  &lt;chartareas&gt;
    &lt;asp:ChartArea Name="ChartArea1" &gt; &lt;/asp:ChartArea&gt; &lt;/chartareas&gt;
  &lt;/asp:CHART&gt;
  </code></pre>
  
  <p>the binding code:</p>
  
  <pre><code>        private void BindMyChart(int firstMonth,int lastMonth )
          {
        dsDataset myDataset = new dsDataset();
        bsHelper myObj =   new   bsHelper();
        myDataset = myObj.GetCompareSalesByMonths(firstMonth,lastMonth);
        if(myDataset.myTable.Rows.Count&gt;0)
          {
              Chart1.DataSource = myDataset.myTable;// 
              DataView dv = myDataset.myTable.DefaultView;
              Chart1.Series["product_A"].Points.DataBindXY(dv,"Product_A",dv, "month");
              Chart1.Series["product_B"].Points.DataBindXY(dv, "Product_B",dv, "month");
              Chart1.Series["product_C"].Points.DataBindXY(dv, "Product_C",dv, "month" );
              Chart1.DataBind();
           }
        }
  
  protected void Page_Load(object sender, EventArgs e)
  {
  
  
              if (!IsPostBack)
              {
           BindMyChart(Convert.ToInt32(ddlfirstMonth.SelectedValue),
                 Convert.ToInt32(ddllastMonth.SelectedValue));//drop down lists
              }
  }
  </code></pre>
  
  <p><br>
  the web.config:</p>
  
  <pre><code>    &lt;assemblies&gt;&lt;add assembly="System.Web.DataVisualization, 
       Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/&gt;&lt;/assemblies&gt;
     &lt;httpHandlers&gt;
      &lt;add path="ChartImg.axd" verb="GET,HEAD"      type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler,      System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral,     PublicKeyToken=31bf3856ad364e35"   validate="false"/&gt;
    &lt;/httpHandlers&gt;
    &lt;handlers&gt;
    &lt;add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd"   type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization,   Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/&gt;  &lt;/handlers&gt;
  </code></pre>
  
  <p>It suppose to be like the image below:
  <img src="https://i.stack.imgur.com/4zcqi.png" alt="chart_required"> <br>
  but, I'm getting an empty,blank chart!<br>
  the method <code>myDataset = myObj.GetCompareSalesByMonths(firstMonth,lastMonth);</code> returns the desired data.</p>