统计图不能动态刷新,必须再手动刷新一次才可以,请高手帮忙,代码如下:
Chart chart = new Chart(xValue,yValue);
chart.xCaption = "企业名称";
chart.yCaption = "危险源个数";
chart.ChartCaption ="华医集团危险源统计图";
chart.ChartType = nChartType;
chart.ChartImagePath = Server.MapPath("")+ @"/temp.gif";
//创建统计图象
chart.CreateChart(800,400);
Chart chart = new Chart(xValue,yValue);
chart.xCaption = "企业名称";
chart.yCaption = "危险源个数";
chart.ChartCaption ="华医集团危险源统计图";
chart.ChartType = nChartType;
chart.ChartImagePath = Server.MapPath("")+ @"/temp.gif";
//创建统计图象
chart.CreateChart(800,400);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货