tags:

views:

4962

answers:

5

Can anyone recommend a free grid/graphing component for C#/.NET? I'm having a look at NPlot right now, but so far I'm finding it quite troublesome.

EDIT: I particularly need something that plugs into Windows Forms - I'm not doing ASP.NET, and don't really fancy reproducing my graph using Google's API every time I get a new data point (several times a second).

Thanks :-)

+6  A: 
cgreeno
Thanks, I'll have a look at ZedGraph. The MS one appears to only be for ASP.NET web stuff, whilst I need Windows Forms.
endian
No the link I sent you is for an ASP.NET demo but they will work for Windows forms as well
cgreeno
Ah, thanks! Have installed ZedGraph and playing around with it now. If I can get my own graph to come up, it's won :-)
endian
+3  A: 

MS Chart Controls (VS tools) work with winforms too:

Microsoft Chart Controls for Microsoft .NET Framework 3.5 will install new assemblies that contain the ASP.NET and Windows Forms Chart Controls.

I haven't had time to use it yet, so I don't know whether it supports charting/plotting (rather than data-graphing).

Marc Gravell
Thanks Marc. I've gone with ZedGraph for now, seems pretty good!
endian
+3  A: 

I can highly recommend ZedGraph (http://zedgraph.org/wiki/index.php?title=Main_Page). It was very easy to configure from my experience (and well documented), not to mention that it seems really quite versatile.

Noldorin
Agreed - I got a graph up and running in 20 minutes or so, including download time.
endian
+1  A: 

Zedgraph seems to be a good tool to plot 2d lines anc histograms. Is there a c# library which allow to visualize 2D data (f[x,y]) as the matlab function pcolor or imagesc ?

unchat
A: 

Take a look at Dynamic Data Display on CodePlex. It's a pretty rich library for WPF with good documentation and good sample code.

Nick