如题,我想在web程序中画一个折线统计图或饼图。。。。跪求大神出手,源码,第三方控件什么的都行,求实现!!!本人新手一个。。。在线等!!!!
asp.net web 统计图??饼图
------解决方案--------------------
在ASP.NET页面中实现数据饼图
------解决方案--------------------
有MSChart控件,你试试
------解决方案--------------------
你可以试试第三方图表控件ChartDirector,使用简单,图表精细,尤其适合用于Web图表开发
参考用ChartDirector绘制饼图
------解决方案--------------------
dotnetCHARTING
------解决方案--------------------
open flash Chart
------解决方案--------------------
MSCHART控件
private void draw01()//houdu1
{
string connStr = ConfigurationManager.ConnectionStrings["connStr"].ToString();
using (OleDbConnection conn = new OleDbConnection(connStr))
{
conn.Open();
DataSet ds = new DataSet();
OleDbDataAdapter da = new OleDbDataAdapter();
string com = "select top 8 [ID],[DateAndTime],[HouDu1] from [No1Gear] order by [ID] desc ";
TextBox4.Attributes.Add("onkeypress", "this.value = this.value.replace(/[^0-9]/g,'')");
string com2 = "select top " + TextBox4.Text.ToString() + " [ID],[DateAndTime],[HouDu1] from [No1Gear] order by [ID] desc";
int num;
if (TextBox4.Text.ToString() == ""
------解决方案--------------------
TextBox4.Text.ToString() == "0")
{
da.SelectCommand = new OleDbCommand(com, conn);
num = 0;
}
else
{
da.SelectCommand = new OleDbCommand(com2, conn);