Can anyone recommend a free tool for generating Charts compatible with ASP.NET MVC?
4 Answers
Take a look at this free web control from Microsoft:
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:
-
Sure, and that's an advantage. Offload the chart rendering to someone else (just like you offload your js, css content to a CDN). May 10, 2010 at 16:17
-
If you can do that. It won't be possible in some scenarios, such as Intranet applications with business-sensitive data. May 10, 2010 at 16:18
-
Good point on intranet apps. Not necessarily, on biz sensitive data. I went through that myself, while working on an app, but discovered that you can usually abstract the data pretty easily such that nothing useful is transmitted. In other words, your data points (10, 20, 30) are meaningless and you leave words (title, legend, etc) off of the GCT-rendered image and add those elsewhere. May 10, 2010 at 16:23
-
Google Chart is a useful and easy to use tool. There are some minor issues I found when trying to define a custom width for labels on Y axis... I was not able to tweak it. Also we cannot expect Google to fix and make it quickly better, and our end-customer cannot complain about it, since there is no way to fix it. I think Google could improve it, but maybe they are busy with a lot of projects. Nov 5, 2012 at 18:40
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
-
Yes, if I'm offering my site as intranet only, it'll won't work if customer doesn't have internet connection May 10, 2010 at 16:56
-
It would have been nice to include that in your question, in this case google charts wont work. Fusion Charts might be another option, plus they are fancy!– RippoMay 12, 2010 at 9:57
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.