我想在我的网页中创建动态图表。我使用 stringbuilder 但我在页面上看不到图表。你能帮忙怎么做吗?
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();