I would like to draw a clickable pie chart in monotouch c# how Could I do that. for example if I click on particular portion on the chart then it will show corresponding data.
There are (old) bindings for CorePlot available on github that contains several types of charts, including pie charts.
Note that you'll likely have to update the bindings a bit for the latest MonoTouch releases and CorePlot library.
ShinobiControls Chart supports MonoTouch and provides bindings. They supply pie charts that handle clicks and animate gracefully.
NOTE: I am associated with the ShinobiControls company.
Related
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
I have 3 parameters and i want to display them as a graph/chart such that
param 1 is red
param 2 is green
parem 3 is blue
they go in horizontal direction and vary over time something like, THIS GRAPH how do i do it?
Thanks a lot in advance!!!
you can use the report control using a bit of Windows form interop.
take a look at Using MS ReportViewer in WPF.
I would use the WPF Toolkit for free charts. Otherwise, you could use third party controls.
WPF Toolkit Example
List of chart control options
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
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:
How to create asp.net 2.0 pie chart and bar chart
You can try beautiful and attractive Silverlight Bar and Pie Chart from Visifire. Visifire is the best choice if you really want to concentrate on looks, clarity while creating presentation or report. Also Visifire works with all versions of asp.net.
Visifire Bar Chart Gallery: http://visifire.com/silverlight_bar_charts_gallery.php
Visifire Column Chart Gallery: http://visifire.com/silverlight_2d_column_charts_gallery.php
Visifire Pie Chart Gallery: http://visifire.com/silverlight_pie_doughnut_charts_gallery.php
The MS Charting Control?
If you don't have to build complex and interactive charts you could try Google Chart, it's super easy...
example:
<img src="https://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World" />
produce:
http://code.google.com/apis/chart/
You could write your own Generic Handler (.ashx) that generates an Image of your Bar Chart/Pie Chart as a Bitmap using System.Drawing and saves it to the Response.OutputStream if a) you really want to make life hard for yourself or b) really need to customise the output in detail
Much better to use one of the Controls recommended by the other guys
In addition to Microsoft Charting you can also get good components from
Dundas
DevExpress
DotNetCharting
For a different approach than the MS Chart Control or other components would be to use to use the Microsoft Report Viewer control and design a report (locally or via reporting services) that way.
Recommended: http://www.simplechart.net/
I recomend fusion charts. This API make things very easy to implement.
http://liberofusioncharts.codeplex.com/
regards
There is no question about it the clear #1 choice for me has been to use the MS Chart controls that have builds for both the .NET 2.0 and 4.0 Frameworks. Actually the controls were originally aquired from Dundas by Microsoft so the similarities exist, but the MS Chart controls are free!! They exist in the System.Web.DataVisualization namespace.
I have been using them for about 3 years now, and the extensive documentation and samples make creating the charts a BREEZE in ASP.NET. Take a look at the links below to get started:
Samples Environment for Microsoft Chart Controls (downloadable code helps a lot!):
http://archive.msdn.microsoft.com/mschart
Getting Started (Chart Controls):
http://msdn.microsoft.com/en-us/library/dd456753.aspx
ZedGraph?
Examples: