8

Can anyone recommend a free tool for generating Charts compatible with ASP.NET MVC?

4 Answers 4

4

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

3
  • More info on how to get these charts to work with ASP.NET MVC here and here May 10, 2010 at 16:14
  • Thanks, I suspected they work for both MVC and regular web apps similarly well.
    – Anvar
    May 10, 2010 at 16:32
  • are these all server side charts? or can they be created using javascript? HMTL % compatible?
    – topwik
    Apr 10, 2012 at 16:39
2

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:

alt text

4
  • 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
0

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
2
  • 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!
    – Rippo
    May 12, 2010 at 9:57
0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.