I am trying to link a data source to the chart control but I cannot get it to display when I run it in the browser.
Code:
<asp:ChartID="Chart1"runat="server">
<Series>
<asp:SeriesName="Series1">
</asp:Series>
</Series>
<ChartAreas>
<asp:ChartAreaName="ChartArea1">
</asp:ChartArea>
</ChartAreas>
</asp:Chart>
</p>
<p>
</p>
<p>
<asp:SqlDataSourceID="SqlDataSource1"runat="server"ConnectionString="<%$ ConnectionStrings:ASPNETDBConnectionString30 %>"SelectCommand="SELECT [Name], [number] FROM [graphtest]">
</asp:SqlDataSource>
As you can see I have tried to link it to a data source. I have tried configuring various properties but I cannot get anything to display.
Could anyone recommend a tutorial or give me a few pointers on the above code. Thanks!