Silverlight based charts and graphs in an asp.net 3.0 application - asp.net

I wanted to build visually stunning graphs and charts ( with some animation, drill-down and interactivity in it) in an existing asp.net application.
The application is build using vs 2008.
I have two questions...
Which version of Silverlight will be best suited for this (v3 or v4) ?
What is the best option to create Charts and Graphs and embed it within the existing asp.net application ?
Note: I wanted to use Silverlight based charts only.

Do you have a specification that says you must use silverlight? I would suggest using Highcharts its an amazingly awesome javascript based charting library.. Its really easy to use and has a TON of charts!

I have started using visifire. It offers really amazing charts and graphs and even we can even play with its code. It is also well supported by the visifire developer community.

Related

Chat for Spring MVC webUI

I am required to show stacked bar chart in my web application. The application uses JSP with spring MVC and mysql as the backend. Please suggest any easy to use charting libraries that I can use. Just have 2 charts completely in the application and hence would be helpful to have a library that would be simple to use and render in my application via my controller api.
Thanks in advance
Well, what you really need is probably a JavaScript library, and your choice will depend on which base library you choose. I have used Dojo in the past, but have recently settled on jQuery. I think jqChart has a stacked bar chart, if I am not mistaken. I am sure there are some open source libraries for jQuery that do charting as well.
Your other option is to generate the chart as an image and post it on your page using straight img tags, but I think that's not a very optimal way of doing things now a days.

Do ASP.NET Chart controls support canvas/html5 in the browser?

I've seen some JavaScript chart libraries around that have cool interactivity using canvas and html5 and best of all they don't download generated images from the server to display a chart but instead they generate the chart in the browser. Sadly these libraries are still young and don't have the huge number of charts and options as Microsoft's ASP.NET chart controls. Is this canvas/html5 technology an option in Microsoft's ASP.NET chart controls? If not is it coming soon?
No. ASP.NET's Chart library generates raster bitmaps (usually as PNG images). They were written and released around 2005-2006 and so don't support more recent web technologies such as <canvas> or HTML5 features.
If you're a wiz with GDI there may be a workaround: change the GDI Image object used by the library from a Bitmap to a GDI Windows Metafile, then convert the Metafile to SVG and present that to the client.
...or just use Google Charts.
Don't get your hopes up - the chart library is a member of the ASP.NET Web Forms library (being a subclass of Control) and MVC is currently in-fashion. However, for some of my projects I reverse-engineered the Charting library into a platform-independent library by stripping out all references to ASP.NET and having it generate chart images regardless of context (for some reason those classes are marked as internal). It's a lot more flexible that way, I suspect Microsoft did this intentionally to placate Dundas who they licensed the charting library from.
No, it is unfortunately not an option. The Chart control only renders as an image out of the box. As far as I know, nothing has been announced to extend this to any other advanced rendering format.
If you really need something custom and interactive, I would suggest looking at gRaphael, Highcharts, Flotr2, or Dojo Charting. In my opinion, they actually give you more flexibility than the ASP.NET Chart control in many cases despite being young.

Charts and Tabs ASP.NET

I am currently working on a project that is dealing with charts and tabs within an ASP.NET page. I am assigned to create a chart that will be generated from an array and a menu like system using tabs to select different options for the chart.
I have no idea how to implement this, I am using VS Web Developer 2010. I am new to ASP.NET framework and how to implement charts and tabs with this information. Basically it will be a form that the user will submit options and it will calculate a forecast of payments based on the options selected.
Please help, not sure where to even begin with ASP.NET. I have seen some things regarding AJAX controls but for some reason the controls are not loaded into VS.
For charts you can use asp.net chart control
I don't understand the part of the menu, but I think you can use the tabcontrol in the containers section of the toolbox
I'd highly recommend looking at Highcharts. It's a JavaScript library for rendering charts. It will create charts on the client-side so I'm not sure whether it meets your requirements (there are other products that support server-side generation of charts but I'm less familiar with these).
I'm not sure what you mean by using tabs for selecting different options, but Highcharts does have a lot of different rendering models and looks really good.
Take a look at their demo gallery and documentation for more information.
If you are reluctant to use client side charting solutions, try Highcharts.Net. It is a C# wrapper written around the Highcharts JS library. So you write all your code using Classes and objects in C#, and the library translates that into JS.
The added bonus is that you get to use ASP .Net's state management for data persistence. The project also has samples that can be downloaded here.
If you are using MVC, you could try out DotNet.Highcharts along with samples.

Charts generator framework from ASP.NET to HTML5

I'm working in an ASP.NET environment and i'm searching a framework (better if it is open source) which generate INTERACTIVE charts on server side. Since i have to publish this project also for mobile, i'm searching something that produces charts in HTML5.
Anyone could give me a suggestion or links about it?
Thank's so much
Marco
Try out Highcharts .Net (sample website) or DotnetHighcharts. Both are C# wrappers written around the Highcharts charting library.
The original library is in javascript, but both these projects are based entirely on C#, and you dont need to write any javascript code to get charts working. Both have sample projects, in case you are interested, although I think Highcharts .Net is more feature-complete if i'm not mistaken..
If you are looking to use MVC, DotnetHighcharts is the way to go, but if you intend to use webforms, Highcharts dot net handles viewstate for the charts so state management is no longer a headache for you..
It's not exactly what you are looking for, but might fulfil your requirements.
Have to checked out Google Chart Tools? Not to be confused with their infographics api or image charts api.
They will generate HTML5 etc dependant on what browser is used.
And can be considered semi-server-side I suppose, it will generate a portion the markup on Google's server side (n.b. not your server side), though I guessing this will depend on what chart is rendered as some charts will probably be mostly client side. However for any interactive chart a certain amount of clientside technology will be used anyway.
So I suppose it depends on if you mean server-side you mean it is essential it runs on your own server. Running on Google's infrastructure does give you the advantages of a CDN etc so it might outway the need of running on your own server.
You can use Syncfusion HTML5 chart control for your requirement. You can create chart with interactive features such as highlight date points, tooltip, exploded pie, etc., in ASP.NET environment .
Also, The HTML5 chart is using element for chart rendering. So, it is providing effective Client side interaction to the chart control. Please refer the below online document and sample link for HTML5 chart.
Documentation Link:
http://help.syncfusion.com/User%20Interface/ASP.NET/Chart%20in%20HTML5
Sample Link:
http://asp.syncfusion.com/demos/ui/chart/HTML5%20Chart/ChartAdvUserInteraction/HighlightDemo/CS/HighlightDemo.aspx
If you are interested in a commercial tool, I highly recommend Highcharts. We are using it in our commercial application. The pricing model is good--we evaluated it against FusionCharts--and it is very feature-rich, interactive.
Although commercial, you can use Highcharts under a CC license for everything except for-profit commercial apps.
its old link, But Amcharts are good option too. i used with webform and mvc applications and worked great for me.
You can use Shield UI HTML5 chart library, that will suit your requirement. I have tried it in ASP.NET environment and performs pretty well. For some examples please refer hereL https://demos.shieldui.com/aspnet/aspnet-chart/drill-down

Dynamic pie chart creation in .net

I want to create a pie chart in my asp.net web site.The chart should get the values from database and generate a pie chart as well.
Please help me ,how do i get this.
Thanks in advance.
I would say have a look at the Asp.Net Charting control. New ASP.NET Charting Control - ScottGu . The samples found in that post are quite detailed and cover numerous chart types.
There are plenty of charting components you can use in ASP.NET, including free ones.
For server-side rendering I can recommend ASP.NET Charting from Microsoft (formerly Dundas Charts)
For client-side rendering you can use HighCharts or AmCharts (requires flash).
I recommend Fusion Charts. Ive implemented it in my project. Its easier to implement and is also very professional.
There is also a helper for Fusion Charts with Asp.Net (webforms and mvc)
Here a sample for a Pie Chart:
http://liberofusioncharts.codeplex.com/wikipage?title=Single%20Series%20Chart,%20adding%20data%20by%20DataSource&referringTitle=Home
Project site: http://liberofusioncharts.codeplex.com/

Resources