kwilson Posted November 28, 2006 Share Posted November 28, 2006 I haven't been using VB for very long so treat me as a beginner lol. I have been given a task to add to this code that I have already been given and make a stack chart out of it and a pie chart. I was just wondering if anyone would be able to help me with this?Here is the code that I already have that makes the bar graph:"Dim val1 As ShortDim val2 As ShortDim val3 As ShortPrivate Sub RunGraph_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles RunGraph.Clickval1 = Val(txtFig1.Text)val2 = Val(txtFig2.Text)val3 = Val(txtFig3.Text)Dim bargraph As New BarGraphForm()bargraph.Show()bargraph.SetValues(val1, val2, val3)End SubPrivate Sub InputForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load"any ideas on what code to type next? any suggestions would be great full.Keith. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now