Graph Drawing

NPlot

  • Supported Platforms: .NET (WinForms)
  • Dimension Support : 2D
  • User Control Interface: ?
  • Data Binding Support: ?
  • Tutorials: 1/5
  • User Base: 1/5
  • Licnese/Price: Open Source

Graphing program that hasn’t had much development recently, but still relatively powerful. Nice interactive scaling/scrolling features of graphs, making it easy to look at lots of data on one chart! Owing to the age and little popularity for this control, tutorials and help are severely limited.

External Link: http://netcontrols.org/nplot/wiki/

OxyPlot

  • Supported Platforms: .NET (WPF)
  • Dimension Support : 2D
  • User Control Interface: ?
  • Data Binding Support: 5/5
  • Tutorials: 1/5
  • User Base: 2/5
  • Licnese/Price: Open Source
  • NuGet Supported: Yes

External Link: http://oxyplot.codeplex.com/

OxyPlot is a good plotting control when you are using WPF (Windows Presentation Foundation). It uses portable class libraries (PCL), so the same assembly can be used with WinForms, WPF, Silverlight and Windows Store apps. However, this causes a error message to appear in the visual designer when using the PCL library in a WPF application created with Visual Studio 2012. It still compiles/runs fine, it just prevents the graph from being seen visually at design time. This error is discussed extensively here, and a workaround package OxyPlot.Wpf_NoPCL created.

Smoothing The Lines

OxyPlot has the ability to smooth out plot lines automatically, which can be enabled with the following code.

RadChart

  • Supported Platforms: .NET (WinForms, WPF)
  • Dimension Support : 2D
  • User Control Interface:
  • Data Binding Support: Databse, XML, DataSet, List, Array
  • Tutorials: 5/5
  • User Base: 4/5
  • Licnese/Price: Yearly License Fee

Although slightly expensive, this is awesome graph/charting software (and not limited to just graphs either).

External Link: http://www.telerik.com/products/winforms.aspx

Some QuickStart RadChart Examples

(click on any code example to expand)

ZedGraph

  • Supported Platforms: .NET (Windows Forms)
  • Dimension Support : 2D
  • User Control Interface: Yes (zoom, scale, save to image)
  • Data Binding Support: Arrays
  • Tutorials: 3/5
  • User Base: 4/5
  • Licnese/Price: Free/Open Source

Probably the most powerful and easy-to-use free graphing utility out there if you just want to draw 2D graphs. Fast drawing and not system resource intensive. Supports only Windows Forms, and not WPF. However, you can still use ZedGraph in a WPF application by embedding the ZedGraph in a WindowsFormsHost object in the WPF project. See here for detailed instructions.

External Link: http://sourceforge.net/projects/zedgraph/

Some QuickStart ZedGraph Examples

(click on any code example to expand)