Unable to get SeriesCollection property of Chart Class - Graph error 
Author Message
 Unable to get SeriesCollection property of Chart Class - Graph error

I'm getting an intermittent error in my code; when I try to get the
SeriesCollection property of my chart I get the error in the Subject line,
then I click OK and it displays the chart fine. Any idea what's going on and
how to fix it?

intNumBars = chrChart.SeriesCollection.Count
For intSeriesCount = 1 To intNumBars
           chrChart.SeriesCollection(intSeriesCount).Interior.Color =
lngGroupColor(intIndexVal))
Next intSeriesCount

Also, the Count peropert was giving  me the wrong count; it was giving me
the series count of the previous chart, not the current one. I found a
kludge around it but not a fix.



Mon, 29 Dec 2003 22:54:35 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Calling external DLL gets error 48, unable to load DLL

2. Problem getting Application class properties

3. Graph Properties of Access Graphs

4. Graph Properties of Access Graphs

5. Getting the properties of VB class at runtime

6. VB2008: Getting the System.Reflection.PropertyInfo from within a class property

7. VB5 SP3 installation on clients comp gets run time error 713 class not registered

8. Unable to change Excel Pie Chart Data Labels location

9. DB Class property causing app to raise error on Null value

10. Not getting Events from classes within classes.

11. Microsoft Graph 2000 Chart

12. Access: Charts & Graphs

 

 
Powered by phpBB® Forum Software