Bar Charts
-
I am doing a bar chart using a date variable and a double variable. I am having trouble reading in the date. Do I have to read in the date using seperate variables for the date?
Regards Zeldacat
-
I am doing a bar chart using a date variable and a double variable. I am having trouble reading in the date. Do I have to read in the date using seperate variables for the date?
Regards Zeldacat
Hey Post up a small snippet of code so we can see what is going wrong and trying to help you. By small I dont mean the entire code base but a simplified version of what is happening. You could even try using a small simplified function or here is a crazy idead - test and debug the function (I have heard people do that sometimes). Dan
At university studying Software Engineering - if i say this line to girls i find they won't talk to me Dan
-
I am doing a bar chart using a date variable and a double variable. I am having trouble reading in the date. Do I have to read in the date using seperate variables for the date?
Regards Zeldacat
So where are you REALLY reading the date from?? I'm quite sure it's not a bar chart... We'd need to see the code that you're using to read this data.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
So where are you REALLY reading the date from?? I'm quite sure it's not a bar chart... We'd need to see the code that you're using to read this data.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007I am doing an Example of creating barcharts in VB. I am using two variables Thedate as date = Today Theweight as double The weight is input on a daily basis via a textbox. The date is taken from the pc's calender. I have a sample to go by, which uses integers and doubles as variables. Everything i have tried so far gets errors because of the date. Dim NumberGames As Integer Dim DStreak(144) As Double Private Sub frmPlot_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim Streak As Integer 'Open file, load data in arrays FileOpen(1, AppPath() + "mar95.csv", OpenMode.Input) NumberGames = 0 Do Until EOF(1) Input(1, NumberGames) Input(1, Streak) DStreak(NumberGames) = CDbl(Streak) Loop FileClose(1) picPlot_Paint(Nothing, Nothing) End Sub The above code is what i am trying to follow. i hope this helps thanks
Regards Zeldacat
-
Hey Post up a small snippet of code so we can see what is going wrong and trying to help you. By small I dont mean the entire code base but a simplified version of what is happening. You could even try using a small simplified function or here is a crazy idead - test and debug the function (I have heard people do that sometimes). Dan
At university studying Software Engineering - if i say this line to girls i find they won't talk to me Dan
I am doing an Example of creating barcharts in VB. I am using two variables Thedate as date = Today Theweight as double The weight is input on a daily basis via a textbox. The date is taken from the pc's calender. I have a sample to go by, which uses integers and doubles as variables. Everything i have tried so far gets errors because of the date. Dim NumberGames As Integer Dim DStreak(144) As Double Private Sub frmPlot_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim Streak As Integer 'Open file, load data in arrays FileOpen(1, AppPath() + "mar95.csv", OpenMode.Input) NumberGames = 0 Do Until EOF(1) Input(1, NumberGames) Input(1, Streak) DStreak(NumberGames) = CDbl(Streak) Loop FileClose(1) picPlot_Paint(Nothing, Nothing) End Sub The above code is what i am trying to follow. i hope this helps thanks
Regards Zeldacat
-
I am doing an Example of creating barcharts in VB. I am using two variables Thedate as date = Today Theweight as double The weight is input on a daily basis via a textbox. The date is taken from the pc's calender. I have a sample to go by, which uses integers and doubles as variables. Everything i have tried so far gets errors because of the date. Dim NumberGames As Integer Dim DStreak(144) As Double Private Sub frmPlot_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim Streak As Integer 'Open file, load data in arrays FileOpen(1, AppPath() + "mar95.csv", OpenMode.Input) NumberGames = 0 Do Until EOF(1) Input(1, NumberGames) Input(1, Streak) DStreak(NumberGames) = CDbl(Streak) Loop FileClose(1) picPlot_Paint(Nothing, Nothing) End Sub The above code is what i am trying to follow. i hope this helps thanks
Regards Zeldacat
And the error would be???? I don't anything in this code that has anything to do with a date.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
And the error would be???? I don't anything in this code that has anything to do with a date.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007sorry I know what you mean. the code i showed is what i am trying to use as an example. but i got myself totally lost. teaching yourself at 52 isn't easy. but i must
Regards Zeldacat
-
sorry I know what you mean. the code i showed is what i am trying to use as an example. but i got myself totally lost. teaching yourself at 52 isn't easy. but i must
Regards Zeldacat
Thanks to all for the help. I have now resolved my query.
Regards Zeldacat