MS Charts 和 ZedGraph 之间的比较?
问题:有人有 ZedGraph / MS-Chart 控件的经验吗?
我正在考虑使用哪个?
基本上,我倾向于 ZedGraph,
因为我需要 .NET Framework 2.0,而 MS-Chart 是 3.5(而且我不知道 3.5 程序集在 2.0 上的工作效果如何)
因为我也可以私下使用它(我私下使用 Linux)。
但我不知道 MS-Charts 是否提供更多。
例如,ZedGraph 是否提供质量合理的 3D 饼图?
还有合理的色彩设计,比如渐变色?
如果是的话,它是否像 MS-Chart 控件一样简单(或几乎一样简单)?
ZedGraph 是否提供数据绑定,例如数据库中的数据表?
Question: Anybody has experience with ZedGraph / MS-Chart controls ?
I am thinking about which to use ?
Basically, I have a tendency to ZedGraph,
because I need .NET framework 2.0 while MS-Chart is 3.5 (and I don't know how well a 3.5 assembly works on 2.0)
and because I could use it privately, too (I use Linux privately).
But I don't know if MS-Charts offers more.
Does ZedGraph for example offer reasonable quality 3d piecharts ?
And reasonable color design, like gradient colors ?
And if it does, is it as simple (or nearly as simple) as MS-Chart controls ?
And does ZedGraph offer databinding, e.g. a datatable from a database ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我在空闲时间尝试过一些例子。
经过一些细微的调整,ZedGraph 的质量与 MS/Dundas Chart 控件一样好。
这是 3d 饼图的示例:
http://www.codeproject.com/KB/web-image/3dpiechart。 aspx
Zedgraph 比 MS/Dundas 图表控件对用户更不友好。
然而,Zedgraph 也更强大、更快,而渲染质量是相同的。
另外,Zedgraph 是跨平台的,而 MS-Chart 控件仅限于 Windows(通过许可,而不是通过技术)。
因此,Zedgraph 无疑是最佳选择。
更深层次的原因可以在这里找到:
http://social. msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/1271d98f-f52e-424d-a0dc-8bc831a5f4b8
I've tried some examples in my free time.
With a bit of minor tweaking, ZedGraph's quality is just as good as MS/Dundas Chart controls.
Here's an example of a 3d piechart:
http://www.codeproject.com/KB/web-image/3dpiechart.aspx
Zedgraph is a bit more user-unfriendy than MS/Dundas chart controls.
However, Zedgraph is also more powerful and faster, while the rendering quality is the same.
Plus Zedgraph is cross-platform, while MS-Chart controls is limited to windows (by license, not by technique).
So the way to go is definitely Zedgraph.
A deeper reason can be found here:
http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/1271d98f-f52e-424d-a0dc-8bc831a5f4b8
自从 MSCharts 转为 RTM 以来,我一直在使用它们,并且对它们提供的许多不同类型的图表感到满意;然而,当我想生成绘图或图表时,我发现它们有缺陷。对于这些,ZedGraph 似乎提供了一个更有吸引力的解决方案。
MSChart 示例环境 可以让您很好地了解该库的功能。您可以将示例环境与 ZedGraph wiki 中的演示进行比较,以了解它们有很多重叠的能力。我刚刚发现这种图表很难创建MSChart。
I have used MSCharts since they went RTM and have been pleased with them for many different kinds of charts; however, I find them deficient when I want to generate a plot or a graph. For these, ZedGraph seems to offer a more appealing solution.
The MSChart Samples environment can give you a good idea of the capabilities of that library. You can compare the samples environment to the demos from the ZedGraph wiki to see they have a lot of overlapping capability. I've just found that this kind of chart is pretty difficult to create with MSChart.
我用它们创建了复杂的仪表板,它们是非常稳定、编写良好的代码片段。然而,你必须考虑这样一个事实:无论你赌哪一个,它实际上都会存在很长时间。
此外,如果您使用 MSCharts,您也可以使用相同的知识为 Web 应用程序构建图表(在 ASP.net 上)。
但是,如果您在基于服务器 ASP.net 的环境中使用它们,唯一的方法是: MSCharts 的问题是它们不是动态图表,即它们呈现为图像并从服务器返回。他们使用图像映射来支持超链接/工具提示,并且工作得很好。
I have used them to create complex dashboards, and they are very stable, well written pieces of code. However, you have to consider the fact that whichever you would be betting on, would actually be there for a long time.
Additionally, if you're using MSCharts, you would be able to use the same knowledge to build charts for web applications as well (on ASP.net)
However, if you are using them in a server ASP.net based environment, the only issue with MSCharts is that they are not dynamic charts i.e. they are rendered as images and returned from the server. They use image maps to support HyperLinks / Tooltips, and work pretty well.
我没有使用过 MSChart,但根据我使用 ZedGraph 的经验,你不能制作 3-d 图表。 ZedGraph 还需要进行一些调整才能制作出真正清晰的图表(如果您注意到的话,它们的大部分 示例不符合此标题)。
I haven't used MSChart, but from my experience with ZedGraph, you can't make 3-d charts. ZedGraph also requires a bit of tweaking to make really sharp looking graphs (if you notice, most of their examples don't qualify for this title).