Monday, May 24, 2010

What is the code to draw simple charts such as line,pie,bar,scatter in c#.net without using any database?

Well, you need a data source of some type to populate the chart, so you need to be more specific about what data source you would want to use.





Rather than reinventing the wheel, you would probably be best off using a pre-made charting component, such as the one made by Dundas. A listing and reviews of these components is here:





http://www.howtoselectguides.com/dotnet/...





If you wanted to do the charting on your own, you'd use the System.Drawing namespace to mark up some images on the fly, again, based on some data source of some sort.


No comments:

Post a Comment