Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Graphs in .NET

Status
Not open for further replies.

meinhunna

Programmer
Jul 31, 2004
118
AU
My client is a mortgage broker who refinances loans for their client. I am developing an application which project terms, interest paid etc on clients existing loans and how a new plan can improve their financial standings. I showing existing loans and new loan summary in a DataGrid using DataTable, i.e. creating monthly entries (including their repayments, interest charged etc) over the period of term.

Now I want to show each existing loans and new plan on a Line Graph. How can I do that? I want the data values for the graph to be taken from the DataGrid’s (column “Date” values on X axis and column “Repayments” values on Y axis) for each existing loan and new plan. Are there any controls in .NET which I can use for creating Line graph on a form? I want to dynamically create graphs as there can be multiple loans and plans for a client. I could not find any helpful material on the web as well.

I am really baffled, should I use Crystal Reports, Microsoft Office Web Components, is there any control shipped with .NET? I am totally lost, please set me in right direction.

Thanx
 
there is no chart component that ships with .net. There is one in vb.net resource kit wich you can download for free. there are several that you can buy. Like dundas and the one from gigasoft wich I currently use. I wouldnt use The office components because they are activex and very slow and this time they do have licensing problems. If you do a search you should be able to find others. And BTW a simple linechart shouldnt be so hard to build yourself.

Christiaan Baes
Belgium

If you want to get an answer read this FAQ faq796-2540
There's no such thing as a winnable war - Sting
 
It may not be very well-known, but there is a MicroSoft Control called

MicroSoft Chart Control

You can put this in the tool box as follows:
1. Right click on your toolbox, and select Customize components.
2. Select the COM components tab if it is not already selected.
3. scroll down to find Microsoft Chart Control (6.0)... and check the check box.
4. Click OK at bottom of form.

You will find a new component in your tool box that you can use. Look up Help under MSChart control for information, or from books to navigate through the multitude of options for making charts and graphs.

Happy Programming.
 
If you need a really REALLY good chart control, and the ones that the other posters have suggested doesn't cut it, check out the Infragistic suite which includes a chart control.

We use it in our applications, and its crazy how much functionality they cram in. You can do 3D charting, a bunch of different views (pie, bar, graph, etc.)...its a great control.

Just another option anyway.

D'Arcy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top