Is there any Control in .Net to plot a graph in C#? - c#

I want to know that how to plot a graph in C#? Like i give input in form of coordinates (x,y)
and get a graph plotted with these values? (I want to know that where will this graph be plotted, on windows form or any other control?)

There are loads of packages for doing this sort of thing out there e.g. Dundas, Microsoft Charts or you can draw your own using GDI.

As lan said, there are many 3rd party controls available for drawing charts. Google for ".NET chart control" and judge for yourself what you like best.
If you're looking for an open source solution, I can recommend ZedGraph or nplot. There doesn't seem to be much recent activity on either of them, but they do support all major 2d chart types, are extensible and easy to use.

You may have a look at ZedGraph.
Example:

Related

how to do I make customized graph in Xamarin.Forms?

I want to make graph and chart in Xamarin.Forms. But I don't know how.
I have tryed to find methods or APIs for drawing line, rectangle or manipulate coordinates on view but I couldn't...
I worked with DevExpress Component but there are several limits, so I want to make customized chart and graph.
please give me a way
thanks.
SciChart for Xamarin is also very customizable and extensible. It comes with 20 chart types out of the box, and there is a CustomRenderableSeries type for creating your own chart types.
Have a look at the wide range of Xamarin Chart Examples here.
SciChart is very fast, able to draw up to a million points in real-time on Xamarin iOS & Android. This makes it perfect for Big-data, real-time, scientific and financial apps. It's also very flexible for business apps and supports tooltips, zooming panning, multi axis, legends and more out of the box.
Disclosure: I am the MD of SciChart

Shapes library similar to PowerPoint

I really like how 2D Shapes work in MS PowerPoint. I was wondering if there any library for C# .NET that would allow me to use same functionality with easy in my application.
I am looking for adding 2D shapes, re-sizing, moving, snapping two shapes to each other, group re-sizing, rotating, showing help lines when you snap two shapes together.
I tried to google and search here on stackexchange but came across few libraries that require a lot of manual work to get simple things working.
So my questions is: Is there any .NET library to be able include shapes functionality into my application with limited effort and short time.
Please share your experience if you have used any of the libraries.
Thanks in advance.

Surface plotting a matrix in WPF or WinForms

I have a matrix of data (the columns represent time, and the rows spectrum frequencies) that I want to plot in a WinForms or WPF control. Something like a surface plot in MATLAB.
I have looked at Microsoft Charting Controls, but it doesn't seem to support anything that could help me.
Do you have a good idea of how to display this data? A library preferably.
In your situation, I usually check all the available paid controls, like Telerik, Infragistics, DevExpress, etc. to find something that fits my needs.
Then I consider if it is worth the cost, in case it is not worth the cost I implement a custom control myself.

Link to a sample of a charting or scheduling control

I'm looking for a component that I can use to plot class times against a timeline for four different instructors. So the y axis will contain a timeline at 30 minute intervals, with the instructors class times stacked in one column per instructor. Any idea what control I should look at using? I thinking the MS Chart control stacked column chart may be the solution - not really sure how to set this up...anyone know of a link or example similar to what I'm trying to accomplish?
Chart Control for .NET Framework enables you to add robust charting abilities to your applications with little effort. It is a fully managed .NET Framework component and has been specifically designed for use with Microsoft Visual Studio 2008.
For examples of how to use Chart Control for .NET Framework, download the samples on Codeplex. Also, to access community content, go to the Chart Control Forum.
http://go.microsoft.com/fwlink/?LinkId=128713
I've used Google Chart a few time with success. Use the google machine, I think there are even videos out there on how to use it.
Good luck.
A really simple charting component is to use the System.Windows.Forms.DataVisualization.Charting Chart
http://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.chart.aspx
It comes standard in the .NET 4.0 framework -- otherwise you can download a the assemblies here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&displaylang=en
I use this chart control frequently and have built other components on top of it. It's very straightforward to use and supports databinding

3D Graphing Package For C# Winforms?

I'm using ZedGraph for my 2D graphing needs, but for a project, I need something that does 3d graphing. What is the best package I can use for this? I'd like the Graph Panes to be as easy to manipulate as with ZedGraph.
Edit: By 3D, I mean I want to be able to specify an x,y,z to get a surface. Thanks!
Using the source code that can be found in the link posted just below as well as WPF you can create a pretty good 3d graph, it's nothing groundbreaking but it might suit your needs:
3D Bar Chart
In principle you can create a bitmap using MathGL and display it. MathGL is cross-platform GPL (LGPL for core) plotting library which can plot 2- and 3-ranged data. However, I'm not sure what you can use C++ classes from C#. But C-interface should work.

Categories

Resources