Assuming you want to create a line chart, you can create the chart control using following code:
<asp:chart id="ChartRate" runat="server" height="400px" width="800px" xmlns:asp="#unknown">
<series>
<asp:series xvaluemember="Date" isvalueshownaslabel="true" yvaluemembers="Call count">
Name="Series1" ChartType="Line" Color="Green" IsVisibleInLegend="true" BorderWidth="1">
</asp:series>
</series>
<borderskin backcolor="White" bordercolor="Black" skinstyle="Emboss" />
<chartareas>
<asp:chartarea name="ChartArea1" borderwidth="0">
<axisy title="BfId" interval="5"></axisy>
<axisx title="Rate"></axisx>
</asp:chartarea>
</chartareas>
</asp:chart>
In Code Behind you can directly bind this chart to Dataset in Chart Control
ChartRate.DataSource = dsRate.Tables[0];
ChartRate.DataBind();
For more information look at the following links:
How to Create Bar Chart and Line Chart both in ASP.Net 3.5 Charting Tools[
^]