kwilson Posted November 28, 2006 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now