可以推荐 .NET 的 ZedGraph 图表库吗?

发布于 2024-07-13 15:46:14 字数 1539 浏览 8 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(7

柏拉图鍀咏恒 2024-07-20 15:46:14

我可以推荐 ZedGraph。 我一直在使用它,效果很好
MSQuant 取得了多年的成功,对于大多数绘图:质量
光谱显示、重新校准误差图、LC 峰值图、
定量曲线等。

以下是 MSQuant 的一些屏幕截图,其中 ZedGraph 已
已使用:

  1. 散点图,带趋势线
  2. 显示实际数据点的 XY 图,线连接数据点
  3. 棒图,带有叠加注释(实际上是 TextBoxes)
  4. 同一窗口中的多个图,类型如 2. 和 3.(下半部分的两个图)
  5. 仔细看看类型 2。
  6. 拼贴,类型2. 和 Visual Studio 中的代码

第一个图背后的源代码可以在 MSQuant 源代码:frmRecalibrationVisualization.vb、MSQuant/msquant/src/GUI/forms/frmRecalibrationVisualization.vb。

与许多其他图表库相比,ZedGraph 可以
也可用于科学/数学导向的绘图/图表(例如,
散点图),不仅适用于商业类型的绘图/图表。
股票市场应用程序可能还需要散点图。

在ZedGraph中,内置了对用户缩放的支持
放大(无限)并缩小,平移(按住
Ctrl 键),将绘图保存到文件或将其复制到
剪贴板。

我在 ZedGraph 中缺少一件事:
用户选择图中的项目以执行
对这些选定项目执行一些操作(例如,计算一些
编号,接受它们已验证或将它们标记为
应用程序的异常值)。

不要因 ZedGraph 的开发状况而推迟。
ZedGraph已经成熟,质量非常高,可以使用
按原样。 应该有一个新的团队在其进一步的背后
发展。

I can recommend ZedGraph. I have been using it with great
success for several years in MSQuant, for most plots: mass
spectrum display, recalibration error plots, LC peak plots,
quantitation profiles and others.

Here are some screen-shots from MSQuant where ZedGraph has
been used:

  1. Scatter plot, with trendline
  2. X-Y plot with the actual data points shown, line connection data points
  3. Sticks plot, with overlayed annotation (TextBoxes, in fact)
  4. Several plots in the same window, types as in 2. and 3. (the two plots in the bottom half)
  5. Closer look at type 2.
  6. Collage, type 2. and code in Visual Studio

The source code that is behind the first plot can be found in Source code for MSQuant: frmRecalibrationVisualisation.vb, MSQuant/msquant/src/GUI/forms/frmRecalibrationVisualisation.vb..

In contrast to many other charting libraries, ZedGraph can
also be used for scientific/math oriented plots/charts (for example,
scatter plots) and not only for business-type plots/charts.
Stock market applications may also need scatter plots.

In ZedGraph, there is built-in support for the user to zoom
in (infinite) and zoom out, pan (drag while holding down the
Ctrl key), save the plot to a file or copy it to the
clipboard.

There is one thing I am missing in ZedGraph: the ability for
the user to select items in the plot in order to perform
some action on those selected items (for example, computing some
number, accepting them as verified or marking them as
outliers to the application program).

Don't be put off by the state of ZedGraph's development.
ZedGraph is mature, is of very high quality, and can be used
as-is. There is supposed to be a new team behind its further
development.

烈酒灼喉 2024-07-20 15:46:14

ZedGraph 似乎不再受到原始开发人员的支持。 但是,您可以将其作为已进行更新的其他项目的一部分找到。

例如,ZedGraph 项目讨论列表中的此讨论 :

所以我对所有 ZedGraph 进行了高度优化
曲线和物体。 基本上,我
优化了它如何使用 GDI 和
专门让它只绘制对象
这将适合图表。

所以它现在滚动和缩放得非常厉害
高效,即使我有很多
图表上有数百万个对象。 加
它使用的CPU几乎为零
以较慢的速度实时运行
用于跟踪财务图表。

我还修复了一些缺陷。

您可以在此处找到包含更改的存储库分支。

ZedGraph does not appear to be supported by the original developers anymore. However, you can find it as part of other projects where updates have been made.

For example, per this discussion on a ZedGraph project discussion list:

So I highly optimized ZedGraph for all
the curves, and objects. Basically, I
optimized how it uses GDI and
specifically made it only draw objects
that will fit in the chart.

So it scrolls and zooms now extremely
efficiently even if I have many
millions of objects on the chart. Plus
it users nearly zero CPU when it's
running in real-time as slower speeds
for tracking financial charts.

I fixed a few defects also.

You can find a fork of the repo with the changes here.

往事风中埋 2024-07-20 15:46:14

您是说 Zedgraph 而不是 Zgraph 吗? Zedgraph 的主页位于此处,并在CodeProject 文章此处
如果你说的是 Zedgraph,我可以推荐它,我在 C# 方面的经验相对较少,但在数据可视化方面却有很多经验。 我发现启动并运行 Zedgraph 并生成漂亮的图表非常简单。 Zedgraph 非常适合 2D 绘图,我仍在寻找 3D 绘图的等效工具。

Do you mean Zedgraph rather than Zgraph? Zedgraph's homepage is here and is described in a CodeProject article here.
If you are talking about Zedgraph I can recommend it, I have relatively little experience in C# but quite a lot in data visualization. I found it straightforward to get Zedgraph up and running and producing good-looking charts. Zedgraph is very good for 2D charting, I'm still looking for an equivalent for 3D plotting.

一百个冬季 2024-07-20 15:46:14

我讨厌扫兴,但我不会推荐 ZedGraph。

几年前,我正在使用它,并注意到该支持是由一位爱好者提供的,该爱好者似乎被每个想要他​​的免费软件而没有报酬或贡献的人滥用。 这是许多 FOSS 作者所面临的诅咒。

看起来该软件已经一年多没有更新了,帮助论坛上充满了查询,但没有任何回应。 看来作者失去了兴趣,走了过去。

如果您使用 ZedGraph,那么这样做是因为您想要维护底层代码并且想要回馈用户/开发人员社区。 如果您没有兴趣做出贡献,并且无法自己维护它,请为那些不起作用且永远不会起作用的事情做好准备。 一家有进取心的公司可以赞助软件的开发并提供免费支持,但您需要自己决定它是否足够好以及是否有真正的收入模式。

I hate to be a killjoy, but I wouldn't recommend ZedGraph.

I was working with it a couple of years ago and noticed that the support was provided by a single enthusiast that seemed abused by everyone wanting his freeware with no compensation or contributions. It's a curse faced by a lot of FOSS authors.

It doesn't look like the software has been updated in over a year now and the help forum is full of queries with no responses. It looks like the author lost interest and walked.

If you use ZedGraph, do it because you want to maintain the underlying code and because you want to contribute back to the user/developer community. If you have no interest in contributing, and you can't maintain it for yourself, be prepared for things that don't work and simply never will. An enterprising company could sponsor the development of the software and offer for-fee support, but you need to decide for yourself if it's good enough to do that and if there is a real revenue model.

苦行僧 2024-07-20 15:46:14

尽管开发似乎已陷入停滞,但 WPF 动态数据显示看起来很有希望。

Although development seems to have stalled, WPF Dynamic Data Display looked promising.

谈下烟灰 2024-07-20 15:46:14

ZedGraph 不支持 3D 绘图,例如 Surface Chart:Implied Vol Surface

ZedGraph does not support 3D graphing, such as Surface Chart: Implied Vol Surface

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文