Hi.
What is the difference between creating a chart from "System.Web.UI.DataVisualization.Charting.Chart"
and "System.Web.Helpers.Chart". ?
In MVC controller to create a chart dynamically which namespace will suits me the best result.?
System.Web.Helpers.Chart
This would be the best option for you. I have never used this but from researching in MSDN, I feel this would be the best.
I can suggest you to use Google api charts. That is very easy and nice to be used in any application.
Thanks
Are you using any java script libraries for rendering chart?
Hi S.Saikrishna,
Thanks for your post.
According to your description,
S.Saikrishna
What is the difference between creating a chart from "System.Web.UI.DataVisualization.Charting.Chart"
and "System.Web.Helpers.Chart". ?
The System.Web.UI.DataVisualization.Charting namespace contains methods and properties for the
Chart Web server control.
This System.Web.Helpers.Chart represents a helper, which is a component that simplifies web programming in ASP.NET Web Pages. You can use the
Chart class to display data in the form of a graphical chart. The class can render data using a variety of chart types.
So I think System.Web.Helpers.Chart is best for you.
There’s a simple sample,you can refer to the following link:
#Chart Helper in ASP.NET MVC 3 with Transparent Background
http://weblogs.asp.net/imranbaloch/chart-helper-in-asp-net-mvc-3-0-with-transparent-background
Hope this can be helpful.
Best Regards,
Eileen