各位同志谁有第三方曲线图控件给俺一个?

kxtm01 2009-07-30 05:23:03
各位同志谁有第三方曲线图控件给俺一个?

现在在学C#编程,有个项目想用曲线图控件,谁知道哪里有这个免费的控件啊?我还是学生没钱买收费的!
是winform开发用的!

...全文
820 15 打赏 收藏 转发到动态 举报
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
kxtm01 2009-07-31
  • 打赏
  • 举报
回复
下载了一个Dundas Chart for .Net,不知道怎么往曲线图里面传值~~~控件没value属性~~~
walkghost 2009-07-31
  • 打赏
  • 举报
回复
Dundas Chart for .Net还要设置chatarea等。。。N多啊,但是饼图我一般用Dundas ,曲线和直方图一般用ComponentOne Studio Enterprise。
walkghost 2009-07-31
  • 打赏
  • 举报
回复
[Quote=引用 8 楼 kxtm01 的回复:]
下载了一个Dundas Chart for .Net,不知道怎么往曲线图里面传值~~~控件没value属性~~~
[/Quote]
XSerials.Value
YSerials.Value
看demo啊。
另:
ComponentOne Studio Enterprise 挺不错的。
功能巨强大。使用示例:

//环境因素随时间变化图。
private void Show(string _where,string SItems)
{
DataSet ds = new DataSet();
DataTable dt = new DataTable();
switch (SItems)
{
case "二氧化碳":
BLL.CO2_Data b_Co2 = new Maticsoft.BLL.CO2_Data();
ds = b_Co2.GetList(0, _where, "This_DateTime");
C1WebChart2.Visible = true;
dt = ds.Tables[0];
if (dt != null)
{
C1WebChart2.DataSource = dt;
ChartDataSeriesCollection sc = this.C1WebChart2.ChartGroups[0].ChartData.SeriesList;
sc.RemoveAll();
ChartDataSeries s = sc.AddNewSeries();
s.X.DataField = "This_DateTime";
s.Y.DataField = "Device_Data";
C1WebChart2.ImageAreas.GetByName("ChartData").Tooltip = "值:{#YVAL},时间:{#XVAL}";
}
break;
case "光照度":
BLL.Light_Data b_Light = new Maticsoft.BLL.Light_Data();
ds = b_Light.GetList(0, _where, "This_DateTime");
C1WebChart1.Visible = true;
dt = ds.Tables[0];
if (dt != null)
{
C1WebChart1.DataSource = dt;
ChartDataSeriesCollection sc = this.C1WebChart1.ChartGroups[0].ChartData.SeriesList;
sc.RemoveAll();
ChartDataSeries s = sc.AddNewSeries();
s.X.DataField = "This_DateTime";
s.Y.DataField = "Device_Data";
C1WebChart1.ImageAreas.GetByName("ChartData").Tooltip = "值:{#YVAL},时间:{#XVAL}";
}
break;
case "温度":
BLL.temperature_Data b_Temp = new Maticsoft.BLL.temperature_Data();
ds = b_Temp.GetList(0, _where, "This_DateTime");
C1WebChart3.Visible = true;
dt = ds.Tables[0];
if (dt != null)
{
C1WebChart3.DataSource = dt;
ChartDataSeriesCollection sc = this.C1WebChart3.ChartGroups[0].ChartData.SeriesList;
sc.RemoveAll();
ChartDataSeries s = sc.AddNewSeries();
s.X.DataField = "This_DateTime";
s.Y.DataField = "Device_Data";
C1WebChart3.ImageAreas.GetByName("ChartData").Tooltip = "值:{#YVAL},时间:{#XVAL}";
}
break;
case "湿度":
BLL.Humidity_Data B_HU = new Maticsoft.BLL.Humidity_Data();
ds = B_HU.GetList(0, _where, "This_DateTime");
C1WebChart4.Visible = true;
dt = ds.Tables[0];
if (dt != null)
{
C1WebChart4.DataSource = dt;
ChartDataSeriesCollection sc = this.C1WebChart4.ChartGroups[0].ChartData.SeriesList;
sc.RemoveAll();
ChartDataSeries s = sc.AddNewSeries();
s.X.DataField = "This_DateTime";
s.Y.DataField = "Device_Data";
C1WebChart4.ImageAreas.GetByName("ChartData").Tooltip = "值:{#YVAL},时间:{#XVAL}";
}
break;
}

}
zhangyanyang 2009-07-31
  • 打赏
  • 举报
回复
zedgraph
rainsome 2009-07-31
  • 打赏
  • 举报
回复
Mschart
jy251 2009-07-31
  • 打赏
  • 举报
回复
自己画个吧
guojivip0420 2009-07-31
  • 打赏
  • 举报
回复
兄弟~用GDI画吧~我之前也有个项目~需要类似的图表功能,试了N多种图表组件都有这样那样的问题~最后还是一狠心自己画了~
heich_tech 2009-07-30
  • 打赏
  • 举报
回复
给我点分就行了:

Teechart 不错,技术支持也多,可惜最新版没有破解,测试版有时间限制,过期不能用。

还是用Dundas Chart for .Net啦

到网上下个试用版,过期只是加水印,不影响正常使用。个人感觉比teechart好,尤其是Gauge。
kxtm01 2009-07-30
  • 打赏
  • 举报
回复
mschart是个好东西,可以我的是VS2005~~~
marvelstack 2009-07-30
  • 打赏
  • 举报
回复
Microsoft .NET Framework 3.5 的 Microsoft 图表控件
http://www.microsoft.com/downloads/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&DisplayLang=zh-cn
matrix_hehe 2009-07-30
  • 打赏
  • 举报
回复
mschart
wuyq11 2009-07-30
  • 打赏
  • 举报
回复
Mschart,zedgraph,chartlet都可以
fangkuai3 2009-07-30
  • 打赏
  • 举报
回复
网上下那个teechart 那个不错

110,577

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧