title: Teechart .Net - Searching for sample examples
body: <p>This really seems to be a very stupid question, but I am not able to find examples for Teechart at the link "steema.net/TeeChartForNET". I have been searching through and all sources seem to point at this link for examples. However on this page, it asks for authentication username and password and when I enter my customer number and password, it does not accept it.</p>
  
  <p>(PS. I am using an evaluation version)</p>
  
  <p>I really need to check out sample working examples to get my chart going. I have tried a lot of code and am not able to display the chart on the page.</p>
  
  <p>Thanks for any help in advance.</p>
  
  <p>Thanks @Narcis. I found the sample examples at the mentioned location. I copy pasted the code from the sample example to a page in my application and still the chart does not show up. Any idea what I may be doing wrong? Here is my code</p>
  
  <p>ASPX Code</p>
  
  <pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestTChart.aspx.cs" Inherits="Recovery_TestTChart" %&gt;
  &lt;%@ Register TagPrefix="tchart" Namespace="Steema.TeeChart.Web" Assembly="TeeChart" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
      &lt;tchart:WebChart id="WebChart1" 
                  style="Z-INDEX: 107; LEFT: 24px; POSITION: absolute; TOP: 60px" runat="server"
                  Width="432px" Height="290px" Config="some long key"
                  TempChart="Httphandler" AutoPostback="False" 
                  GetChartFile="GetChart.aspx"&gt;&lt;/tchart:WebChart&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>ASPX.CS Code</p>
  
  <pre><code>using System;
  using System.Collections;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Web;
  using System.Web.SessionState;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  using System.Web.UI.HtmlControls;
  
  public partial class Recovery_TestTChart : System.Web.UI.Page
  {
      protected void Page_Load(object sender, EventArgs e)
      {
          Steema.TeeChart.Chart ch1 = WebChart1.Chart;
          ch1.Series.RemoveAllSeries();
          ch1.Series.Add(new Steema.TeeChart.Styles.Bubble());
          ch1.Series[0].FillSampleValues();
          ch1.Legend.Shadow.Visible = false;
          ch1.Legend.Visible = false;
          (ch1.Series[0] as Steema.TeeChart.Styles.Bubble).Pointer.Style = Steema.TeeChart.Styles.PointerStyles.PolishedSphere;
      }
  }
  </code></pre>
  
  <p>I have also added a file by the name of GetChart.aspx in the same directory as this page.</p>