Click here to Skip to main content
12,396,146 members (64,894 online)
Rate this:
 
Please Sign up or sign in to vote.
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

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
Top Experts
Last 24hrsThis month


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100