我应该使用哪个.net图表库?

时间:2022-09-10 23:10:32

I would like to draw a realtime chart on a WindowsForm. My platform is the .Net Framework 3.5. What the library should offer:

我想在WindowsForm上绘制一个实时图表。我的平台是.Net Framework 3.5。图书馆应该提供什么:

  • Free as in beer
  • 像啤酒一样免费
  • The results should be pretty... (My standards for pretty are rather low though)
  • 结果应该很漂亮......(我的漂亮标准虽然相当低)
  • a HeatMap type of chart would be a big plus
  • HeatMap类型的图表将是一个很大的优势
  • possibly a lot of data - we are talking about several hundred new datapoints per second
  • 可能有很多数据 - 我们说的是每秒数百个新的数据点

Here are the ones I have found so far:

这是我到目前为止找到的:

  • NPlot
  • NPLOT
  • Microsoft Chart Controls
  • Microsoft图表控件
  • ZedGraph
  • ZedGraph

What are your experiences with the libraries listed above? Are there any other free libraries that you would recommend?

您对上面列出的库有什么经验?你会推荐其他免费图书馆吗?

4 个解决方案

#1


10  

I used Microsoft Chart Controls before. It is not bad at all, easy to implement, and has a lot of good examples too, every good for beginners. http://code.msdn.microsoft.com/mschart

我之前使用过Microsoft Chart Controls。它一点都不差,易于实现,并且有很多很好的例子,对初学者来说都是好事。 http://code.msdn.microsoft.com/mschart

However:

然而:

1st, it hasn't been updated for a long while since it was released.

1,自发布以来,它已经很久没有更新了。

2nd, Since it is Microsoft, Comparability is something you dont have much control of

2,既然它是微软,可比性就是你无法控制的东西

Last, now I generally walked way from using chart controls, and using some javascript chart APIs instead, to me those makes me feel more dry, light weighted, and standard supported.

最后,现在我通常使用图表控件,并使用一些javascript图表API代替,对我来说,这些让我感觉更干,重量轻,标准支持。

Google charts (very basic)

谷歌排行榜(非常基本)

And this is a more advanced one: (Jquery) http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/

这是一个更高级的:(Jquery)http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/

#2


2  

I've used MSChart, and have had good experiences with it. It used to be a commercial product from Dundas (which it seems still to be), but Microsoft procured Dundas and made it free.

我使用过MSChart,并且有很好的经验。它曾经是Dundas的商业产品(似乎仍然如此),但微软采购了Dundas并使其免费。

#3


1  

As you maybe already found out the Microsoft chart is just a snapshot from a specific version of Dundas Charts. So if you start with these charts you can easily upgrade to the current version from Dundas, but their prices are far behind free.

正如您可能已经发现的那样,Microsoft图表只是特定版本的Dundas Charts的快照。因此,如果您从这些图表开始,您可以轻松地从Dundas升级到当前版本,但它们的价格远远落后于免费。

Within your question you wrote you have a lot of data and it should be updated in real time you'll run into problems will nearly all the graphs out there. As far as i know the best graph component that can handle a lot of data very fast is National Instruments but these are also not cheap.

在你写的问题中,你写了很多数据,应该实时更新,你会遇到几乎所有图表都会出现问题。据我所知,可以非常快速地处理大量数据的最佳图形组件是National Instruments,但这些也不便宜。

So if you really need to show a lot of data in real-time i think there is nothing out there for free.

因此,如果你真的需要实时显示大量数据,我认为没有任何东西是免费的。

#4


0  

If you're using Wpf you could take a look at Dynamic data display from the Microsoft Moscow labs.

如果您使用的是Wpf,可以查看Microsoft Moscow实验室的动态数据显示。

#1


10  

I used Microsoft Chart Controls before. It is not bad at all, easy to implement, and has a lot of good examples too, every good for beginners. http://code.msdn.microsoft.com/mschart

我之前使用过Microsoft Chart Controls。它一点都不差,易于实现,并且有很多很好的例子,对初学者来说都是好事。 http://code.msdn.microsoft.com/mschart

However:

然而:

1st, it hasn't been updated for a long while since it was released.

1,自发布以来,它已经很久没有更新了。

2nd, Since it is Microsoft, Comparability is something you dont have much control of

2,既然它是微软,可比性就是你无法控制的东西

Last, now I generally walked way from using chart controls, and using some javascript chart APIs instead, to me those makes me feel more dry, light weighted, and standard supported.

最后,现在我通常使用图表控件,并使用一些javascript图表API代替,对我来说,这些让我感觉更干,重量轻,标准支持。

Google charts (very basic)

谷歌排行榜(非常基本)

And this is a more advanced one: (Jquery) http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/

这是一个更高级的:(Jquery)http://www.filamentgroup.com/lab/update_to_jquery_visualize_accessible_charts_with_html5_from_designing_with/

#2


2  

I've used MSChart, and have had good experiences with it. It used to be a commercial product from Dundas (which it seems still to be), but Microsoft procured Dundas and made it free.

我使用过MSChart,并且有很好的经验。它曾经是Dundas的商业产品(似乎仍然如此),但微软采购了Dundas并使其免费。

#3


1  

As you maybe already found out the Microsoft chart is just a snapshot from a specific version of Dundas Charts. So if you start with these charts you can easily upgrade to the current version from Dundas, but their prices are far behind free.

正如您可能已经发现的那样,Microsoft图表只是特定版本的Dundas Charts的快照。因此,如果您从这些图表开始,您可以轻松地从Dundas升级到当前版本,但它们的价格远远落后于免费。

Within your question you wrote you have a lot of data and it should be updated in real time you'll run into problems will nearly all the graphs out there. As far as i know the best graph component that can handle a lot of data very fast is National Instruments but these are also not cheap.

在你写的问题中,你写了很多数据,应该实时更新,你会遇到几乎所有图表都会出现问题。据我所知,可以非常快速地处理大量数据的最佳图形组件是National Instruments,但这些也不便宜。

So if you really need to show a lot of data in real-time i think there is nothing out there for free.

因此,如果你真的需要实时显示大量数据,我认为没有任何东西是免费的。

#4


0  

If you're using Wpf you could take a look at Dynamic data display from the Microsoft Moscow labs.

如果您使用的是Wpf,可以查看Microsoft Moscow实验室的动态数据显示。