ChartDirector问题
有熟悉ChartDirector的人吗?
<%@ Page Language="C#" Debug="true" %>
<%@ Import Namespace="ChartDirector" %>
<%@ Register TagPrefix="chart" Namespace="ChartDirector" Assembly="netchartdir" %>
<%
//The data for the pie chart
double[] data = {25, 18, 15, 12, 8, 30, 35};
//The labels for the pie chart
string[] labels = {"Labor", "Licenses", "Taxes", "Legal", "Insurance",
"Facilities", "Production"};
//Create a PieChart object of size 360 x 300 pixels
PieChart c = new PieChart(360, 300);
//Set the center of the pie at (180, 140) and the radius to 100 pixels
c.setPieSize(180, 140, 100);
//Set the pie data and the pie labels
c.setData(data, labels);
//output the chart
WebChartViewer1.Image = c.makeWebImage(Chart.PNG);
//include tool tip for the chart
WebChartViewer1.ImageMap = c.getHTMLImageMap("", "",
"title='{label}: US${value}K ({percent}%)'");
%>
<html>
<body>
<chart:WebChartViewer id="WebChartViewer1" runat="server" />
</body>
</html>
在vs2003 的 View in Browse 可以看到效果,但是运行在ie中看不到图形,怎么解决?