Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All

I have written a VB program that I need to output the results in a graph - I have tried following the Technet article but it still does not seem to work - Can someone provide a solid way of doing this.

I basically have 4 values called r,g,b,y which are integers and each one need to have a column on the x axis - I do not need value for the y axis - I want it to appear in a Windows form.

Any help would be appreciated
Posted
Comments
[no name] 18-Sep-12 11:10am    
"the Technet article"? And what does "still does not seem to work" mean exactly?
DarrenAuchnie 18-Sep-12 11:14am    
On this site - http://msdn.microsoft.com/en-us/library/2c610fkb(VS.71).aspx - It says in the code MSChart1.ChartData where MSChart1 is the name of the chart - when i try it i do not get the .Chartdata property afterwards
[no name] 18-Sep-12 11:18am    
Okay and did you add an MSChart control to your application? Did you name it MSChart1?
DarrenAuchnie 19-Sep-12 9:55am    
I got my chart working now just need the code to transfer integer variables r,g,b,y into the values of x - I cannot seem to find the property to do it

1 solution

If you use MS Visual Studio 2010, see these:
http://archive.msdn.microsoft.com/mschart[^]
A flexible charting library for .NET[^]

If i'm not wrong, you can use PrintForm class[^] too.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900