Can anyone recommend a free tool for generating Charts compatible with ASP.NET MVC?
Take a look at this free web control from Microsoft:
http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
I tried it with regular web application, not MVC though. Works alright, a little finicky in some details.
What kind of charts you need to deal with? Some time ago I was looking for Gantt chart control, and really did not find any good free ones.
Regards, Anvar
Use Google Chart Tools.
To clarify, GCT isn't specific to ASP.NET MVC. It's a hosted thing that you can call with Javascript. I've use it in MVC and regular ASP.NET project alike. Very clean and nice.
For instance, open your browser and go here:
https://chart.apis.google.com/chart?cht=p3&chd=t:60,40&chs=250x100&chl=Hello|World
You'll see this:
Google charts
The advantages of the Google Chart Tools are:
A rich gallery of visualizations provided as:
Image charts - using a simple URL request to a Google chart server
Interactive charts - using a Google developed JavaScript library
Can read live data from a variety of data sources
Simple to use and free
you can use google chart tool. its easy to use and woks good.
for refrence you can go through below url
http://code.google.com/apis/ajax/playground/?type=visualization
hope i would help you.
Related
Does anyone have any example code for integrating with WorldPay using MVC3? Specifically posting the XML order to WorldPay. I have googled all the way but couldnt find the relevant information .
WorldPay uses a pretty simple REST API. Their developer documentation, which I think contains C# examples, should be all you need.
MVC doesn't change how you'd interact with them. The code would be the same with a Silverlight or Windows Forms application.
Could somebody suggest a way to generate liquid bar charts similar to the following?
image http://www.freeimagehosting.net/uploads/b5aa71d3f8.png
I want to use it in an ASP.NET MVC project and refresh via AJAX (it can't be server-side charts).
You should take a look at HighChartsJS.
In my opinion, they are leading the way in interactive charting and reporting for AJAX web apps. It is a wonderful fit if your app is leveraging jQuery or extJS. Check out their demo page...
http://www.highcharts.com/demo/
Better solution that I found is "Liquid Bar chart" produced by Devexpress.
http://community.devexpress.com/forums/t/100319.aspx - forum thread.
http://www.devexpress.com/Support/Center/e/E3131.aspx - code.
http://codecentral.devexpress.com/E3131/ - view online.
Unfortunately, Devexpress hasn't released MVC charts yet.
But they plan to do it soon.
UPD: I've found nice control that has this functionality - http://www.fusioncharts.com/widgets/demos/blueprint/
We are evaluating Windows Workflow Foundation 4 to use in MVC 3 based Web Applications. We would like to create flexible order workflows for different projects.
Does anybody know good information about the general architecture or hands-on-labs for this kind of application?
Some concrete questions would be:
how can you activate a specific controller/action from the workflow?
what is the best way to communicate between the workflow and the web application (events, wcf services, ...)?
This is a nice article on how to start working with WF4 in your ASP.NET MVC app.
Integrating a persisted WF4.0 workflow with mvc
Another example with video is at below link. (Note: The code attached in the link might not be executable, but it will give some concepts when you study the code and watch the video)
https://channel9.msdn.com/Shows/Workflow-TV/endpointtv-WF4-in-the-Real-World-Microsoft-Support-ASPNET-MVC-Wizard-Framework
This link is showing how we can preserve the data between requests using tempdata. Since it is a large explanation, I am not repeating the same again here.
Sadly, the videos for this seem to be down but the docs seem to try to show you a way!
Sourced from an old post/response from 2009. An alternative is found on CodeProject.com, which is also quoted on this one with a longer list of resources.
I have seen Microsoft charting control # here and here.
It has good demonstration for displaying bar chart in MVC.
On scottgu's blog There are plenty of examples but they are using server controls (i.e <asp:CHRT runat"server">.
This is also supported in MVC by Modifying web.config.
but as we should avoid using server control as postback is not supported in MVC, we should
render it as shown in "without code behind page" example.
Exactly like This Question.
Now I would like to know how other chart types (like pie chart) can be created in controller?
I like google charts. Just write a HTMLHelper to render the correct URL.
http://code.google.com/apis/chart/
Try using 3rd party flash charting controls like amCharts. They can be configured via a simple XML file and get their data from static or generated XML or CSV files or streams.
New asp.net charting controls - will they work with MVC (eventually)?
Something that was created quite a while ago, but is relevant to this topic.
I am looking for reporting solution for ASP.NET MVC.
I need:
parameters support render to HTML
export to Excel
free / reasonably priced
Any suggestion?
There is an ongoing discussion about people using ActiveReports in ASP.NET MVC on stack overflow. It has excel export support.
Take a look at Stimulsoft Reports.Web for MVC - the tool exactly for MVC.
Telerik Reporting supports MVC and starts from $399 for a dev license ($599 with source and free upgrades for an year). They also provide a working project on how to use their tool in MVC. I hope this helps...
The easiest one we found to use with MVC was devexpress XtraReports. But it's not free and it's reasonably priced only for big projects.
Here's an example usage with MVC.
I was going to suggest the Microsoft Chart Controls, you can read about them here; however, I do not recall seeing anything regarding exporting to Excel. To get the data to export to Excel, I would simply let that be part of the request for the page. You may want to give these a look as the exporting to Excel may not need to occur with in the charting controls themselves.