免费的 C# 表格/图表组件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/433729/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Free C# Grid/Graph component
提问by endian
Can anyone recommend a free grid/graphing component for C#/.NET? I'm having a look at NPlot right now, but so far I'm finding it quite troublesome.
任何人都可以为 C#/.NET 推荐一个免费的网格/图形组件吗?我现在正在看 Nplot,但到目前为止我发现它很麻烦。
EDIT: I particularly need something that plugs into Windows Forms - I'm not doing ASP.NET, and don't really fancy reproducing my graph using Google's API every time I get a new data point (several times a second).
编辑:我特别需要一些可以插入 Windows 窗体的东西 - 我不是在做 ASP.NET,并且每次我获得一个新的数据点(每秒几次)时,我都不想使用 Google 的 API 来重现我的图形。
Thanks :-)
谢谢 :-)
采纳答案by cgreeno
MS just releasedone if you are using 3.5 or you could use ZedGraph
如果您使用的是 3.5 或者您可以使用ZedGraph,MS 刚刚发布了一个
EDIT: The Link is Just a ASP.NET demo they have a Windows Forms Releaseas well with DEMOS
编辑:链接只是一个ASP.NET演示他们有一个Windows窗体发布以及与DEMOS
Microsofts Chart Control
微软的图表控件
回答by Marc Gravell
MS Chart Controls(VS tools) work with winforms too:
Microsoft Chart Controls for Microsoft .NET Framework 3.5 will install new assemblies that contain the ASP.NET and Windows Forms Chart Controls.
Microsoft .NET Framework 3.5 的 Microsoft Chart Controls 将安装包含 ASP.NET 和 Windows Forms Chart Controls 的新程序集。
I haven't had time to use it yet, so I don't know whether it supports charting/plotting (rather than data-graphing).
我还没有来得及使用它,所以我不知道它是否支持图表/绘图(而不是数据绘图)。
回答by Noldorin
I can highly recommend ZedGraph (http://zedgraph.org/wiki/index.php?title=Main_Page). It was very easy to configure from my experience (and well documented), not to mention that it seems really quite versatile.
我强烈推荐 ZedGraph ( http://zedgraph.org/wiki/index.php?title=Main_Page)。根据我的经验,它很容易配置(并且有据可查),更不用说它看起来真的很通用。
回答by unchat
Zedgraph seems to be a good tool to plot 2d lines anc histograms. Is there a c# library which allow to visualize 2D data (f[x,y]) as the matlab function pcolor or imagesc ?
Zedgraph 似乎是绘制 2d 线和直方图的好工具。是否有允许将 2D 数据 (f[x,y]) 可视化为 matlab 函数 pcolor 或 imagesc 的 ac# 库?
回答by Nick
Take a look at Dynamic Data Displayon CodePlex. It's a pretty rich library for WPF with good documentation and good sample code.
看看CodePlex上的动态数据显示。这是一个非常丰富的 WPF 库,具有良好的文档和良好的示例代码。