|
-
April 17th, 2001, 11:14 AM
#1
MSChart with an array - Very Confused!
I am populating an array and passing the data to the .chartdata property of an MSChart control. I am having a bit of trouble plotting things from the array at this point because I am not sure how the array property populates itself when I set it to my array.
There is a sample program from Microsoft called chrtsamp.vbp. This program creates an array from an excel spreadsheet and populates the control with the array. When I try this the .chartdata property receives the data differently. Does anyone know why this is? Here's the example:
ChrtSamp:
1. Populates myarray
2. chart.chartdata = myarray
3. at this point myarray(1,1) = chart.ChartData(1,0); myarray(2,1) = chart.Chartdata(2,0) and so on....
MyCODE:
1. Populates myarray
2. chart.chartdata = myarray
3. at this point myarray(1,1) = chart.ChartData(0,1); myarray(2,1) = chart.Chartdata(1,1) and so on....
I know it is a confusing question, but that just about sums it up for me. I am having a very difficult time charting these data points!
Thanks for ANY help,
Ron
-
April 17th, 2001, 11:44 AM
#2
Re: MSChart with an array - Very Confused!
Also - when it is plotting points with this array, it just seems to be doing it randomly. I have no real idea where the data points are coming from. The data points are supposed to be all under 10, but some are plotting in the 70s and 80s... THANKS AGAIN!!!
-
April 17th, 2001, 04:57 PM
#3
Re: MSChart with an array - Very Confused!
-
April 17th, 2001, 09:29 PM
#4
Re: MSChart with an array - Very Confused!
Does anyone at least know of any good online resources for MSChart control information?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|