avItem fails on AvAxes for 3D graphs

avItem fails on AvAxes for 3D graphs

The following piece of code does not appear to work in Fortran for 3D graphs:

hAxisX = avItem(avAxes(hGraph), 1)

The return value is 0 (NULL pointer). For 2D graphs, it works fine.

Using the debugger, I find--in the 3D case--the error E_INVALIDARG is generated in avItem. When I look at the collection in the debugger both the 2D and 3D collections appear to have three items in them.

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.