C# WPF 图表控件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/577278/
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
WPF chart controls
提问by Rakesh Agarwal
I am looking for a very simple WPF chart which should have a 2D graph and should have pan and zoom facilities .
我正在寻找一个非常简单的 WPF 图表,它应该有一个 2D 图形并且应该有平移和缩放功能。
回答by Steven Robbins
You can get the Silverlight Chart Controls running on WPF, they're quite nice (and free).
您可以在 WPF 上运行Silverlight 图表控件,它们非常好(而且免费)。
回答by Crippeoblade
Commercial products:
商业产品:
I'm sure there are others
我确定还有其他人
回答by MrTelly
DynamicDataDisplayis brilliant, zoom and pan built in and its free on CodePlex.
DynamicDataDisplay非常棒,内置缩放和平移功能,并且在 CodePlex 上免费。
回答by flq
回答by epotter
回答by Gergely Orosz
Free tools supporting panning / zooming:
支持平移/缩放的免费工具:
- Live Charts
- DynamicDataDisplay- a nice, open source data visualization library. Unfortunately it's not been updated since April 30, 2009.
- OxyPlot
- 实时图表
- DynamicDataDisplay- 一个不错的开源数据可视化库。不幸的是,它自 2009 年 4 月 30 日以来就没有更新过。
- 氧图
Free tools without built in pan / zoom support:
没有内置平移/缩放支持的免费工具:
- WPF Toolkit. Supports most important 2D charts, you'll have to implement pan / zoom yourself.
- WPF Toolkit Development Release. Supports stacked charts, equivalent to the Silverlight version.
- WPF 工具包。支持最重要的 2D 图表,您必须自己实现平移/缩放。
- WPF 工具包开发版本。支持堆叠图表,相当于 Silverlight 版本。
Paid tools with built in pan / zoom support:
具有内置平移/缩放支持的付费工具:
- VisibloxCharts (Discontinued). Support for the most important 2D charts, comes with zooming and panning. The free version comes with watermark. (See this blog poston using zooming / panning)
- SciChart WPF. Supports DirectX accelerated 2D & 3D charts, comes with zooming and panning, mouse-wheel with animation on zoom. (See this blog poston using zooming / panning across multiple charts)
- Infragistics xamDataChart. Supports most important 2D charts, zooming and panning. See this blog articleon how to use zooming.
- Telerik RadChart. Supports lots of 2D charts, has some support for zooming and panning, you might need to do a little work on that.
- Visifire. Supports lots of 2D charts and zooming without animation, might need to do some extra work for smoother zooming.(This service is no longer available)
- DevExpress ChartControl. Supports most common 2D Series types, zooming and panning (scrolling)operations can be performed using the mouse, keyboard, and touch gestures.
- Syncfusion SfChart. Supports many 2D series typesand provides the interactive zoomingfeature that supports the touch mode. Various zoom types are supported (mouse wheel, pinch, selection).
- Visiblox图表(已停产)。支持最重要的 2D 图表,带有缩放和平移功能。免费版带有水印。(请参阅有关使用缩放/平移的博客文章)
- SciChart WPF。支持 DirectX 加速 2D 和 3D 图表,带有缩放和平移,鼠标滚轮和缩放动画。(请参阅有关在多个图表中使用缩放/平移的博客文章)
- 基础设施 xamDataChart。支持最重要的 2D 图表、缩放和平移。请参阅此博客文章,了解如何使用缩放。
- Telerik RadChart。支持大量 2D 图表,支持缩放和平移,您可能需要在这方面做一些工作。
- 见火。支持大量2D图表和无动画缩放,可能需要做一些额外的工作以获得更平滑的缩放。(此服务不再可用)
- DevExpress 图表控件。支持最常见的2D 系列类型,可以使用鼠标、键盘和触摸手势执行缩放和平移(滚动)操作。
- Syncfusion SfChart。支持多种2D系列类型,并提供支持触摸模式的交互式缩放功能。支持各种缩放类型(鼠标滚轮、捏合、选择)。
Full Disclosure:I have been heavily involved in development of Visiblox, hence I know that library in much more detail than the others.
完全披露:我一直大量参与 Visiblox 的开发,因此我比其他库更详细地了解该库。
回答by Timo Paschke
The chart control in the WPF Toolkit has a horrible bug: it never forgets any of the data points. So if you try to implement a floating chart you will get out of memory after round about 3000 DataPoint-objects. This bug has been reported to MS over a year ago but nobody seems to care...
WPF Toolkit 中的图表控件有一个可怕的错误:它永远不会忘记任何数据点。因此,如果您尝试实现一个浮动图表,您将在大约 3000 个数据点对象之后出现内存不足。一年多以前,这个错误已经报告给 MS,但似乎没有人关心......
回答by Lonli-Lokli
Also DevExpress have Charts (see DevExpress.Com).
DevExpress 也有图表(参见DevExpress.Com)。