I want to create dynamic chart in my webpage.I use stringbuilder but i can not see a chart on the page.Can you please help how to do it?
StringBuilder builderchart = new StringBuilder();
builderchart.Append("<table>");
builderchart.Append("<tr>");
builderchart.Append("<td width=412 class=tdchart>");
builderchart.Append("<p>");
builderchart.Append("<asp:Chart ID=Chart1 runat=server><Series><asp:Series Name=Series1></asp:Series></Series><ChartAreas><asp:ChartArea Name=ChartArea1></asp:ChartArea></ChartAreas></asp:Chart>");
builder.Append("</p>");
builderchart.Append("</table>");
Literal2.Text = builderchart.ToString();