AzoftSpotlightReinventing Wheels: drawing graphs in .NET

Reinventing Wheels: drawing graphs in .NET

By Stanislav Sidristij on March 15, 2011

a7a58503 Reinventing Wheels: drawing graphs in .NET

After the first article was published I realised that the topic is very actual. Here I'll try to tell you about some more libraries I know. And hopefully my suggestions will help you in future, so you won't reinvent new wheels, when you can afford a car.

In this post I will deal with a topic which many people will consider to be important — drawing graphs in platform .NET. Remember: haven't you ever been drawing a smart graph on the screen… Did you succeed? Or have you seen a new wheel instead?

DynamicDataDisplay (D3)

e275b1d8 Reinventing Wheels: drawing graphs in .NET

It is a library of dynamic data visualization management elements, implemented with the help of Windows Presentation Foundation technology (WPF).

The library uses optimal mechanisms for data linking and allows to visualize graphs consisting of many pixels (up to some millions), in real time mode. You can use DynamicDataDisplay management elements like usual controllers from WPF library. You can use any data as a coordinates source — arrays, data tables or functions. Any change of source data leads to visual information update. This can be used for complicated calculations visualization.

 

Some input examples:

32c6bbc1 Reinventing Wheels: drawing graphs in .NET eec67f1d Reinventing Wheels: drawing graphs in .NET
9b36ea13 Reinventing Wheels: drawing graphs in .NET ee186fc5 Reinventing Wheels: drawing graphs in .NET
88065dbe Reinventing Wheels: drawing graphs in .NET 0b30a1c5 Reinventing Wheels: drawing graphs in .NET

The library is available for downloading at Codeplex (+) It can be used for displaying any information on the screen in any form (+) Animation support (+) Low output performance (+) It takes some effort before you will make a smart, beautiful graph (-)

ZedGraph

ffa51565 Reinventing Wheels: drawing graphs in .NET
A free and very reach library of different graphs output. Involves a huge number of graphs types that you can use in your projects. It's peculiarity is very simple graphics easy to use. It also supports customization via designer form Visual Studio. A pleasant feature for many developers is perfect documentation and multi-language documentation.
Some output examples
8efdb33e Reinventing Wheels: drawing graphs in .NET c7a17cc3 Reinventing Wheels: drawing graphs in .NET
7425ab21 Reinventing Wheels: drawing graphs in .NET 2b7739de Reinventing Wheels: drawing graphs in .NET
ee52df68 Reinventing Wheels: drawing graphs in .NET 57059434 Reinventing Wheels: drawing graphs in .NET

I think it's a very usefull library. The library is available to download from the web site SourceForge (+) Very user-friendly (+) Reach documentation (+) Low performance when data set is big (-) Poor interface (-)

Useful links:

You can download the library at: http://sourceforge.net/projects/zedgraph/

Microsoft Chart Controls

022b518a Reinventing Wheels: drawing graphs in .NET Microsoft Chart Controls are management elements for creating diagrams in ASP.NET and Windows Forms. The collection includes an extensive coverage of graphs types and over 200 different examples of graphs creation and it can be implemented in any  ASP.NET or WinForms project. Moreover in .NET Framework this component is available right out of the box. It is very reach and user-friendly to my mind.

Some output examples a21d3793 Reinventing Wheels: drawing graphs in .NET 14ef96c1 Reinventing Wheels: drawing graphs in .NET

The library is available to download from the site of Microsoft (+) It is in .NET Framework 4 (+) It is supported by ASP.NET (+) Low performance when dealing with big data set (-)

Enhanced by Zemanta