Click here to Skip to main content
Sign Up to vote bad
good
See more: VB
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 18-Sep-12 5:06am

Comments
Wes Aday - 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
Wes Aday - 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.
  Permalink  

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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Christian Graus 368
1 Prasad_Kulkarni 357
2 OriginalGriff 347
3 Ron Beyer 251
4 Prasad Khandekar 245
0 Sergey Alexandrovich Kryukov 7,061
1 Prasad_Kulkarni 4,046
2 OriginalGriff 3,749
3 _Amy 3,450
4 CPallini 3,114


Advertise | Privacy | Mobile
Web02 | 2.6.130619.1 | Last Updated 18 Sep 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid