Exception calling GetAsGauge().GetXRadius()
Posted: Sun Feb 21, 2010 2:41 pm
Hi,
When working with Gauge series I have the following line:
long lXradius = m_Chart.Series(0).GetAsGauge().GetXRadius();
I can't get a value for lXradius.
Using debugger, stepping over this call, I get an excedption in: file oledisp1.cpp,
in function: CCmdTarget::CallMemberFunc(const AFX_DISPMAP_ENTRY* pEntry, WORD wFlags,
VARIANT* pvarResult, DISPPARAMS* pDispParams, UINT* puArgErr).
When I don't use the above line, my application using the same Gauge series works just fine.
What can be the problem?
Thanks.
yvb
When working with Gauge series I have the following line:
long lXradius = m_Chart.Series(0).GetAsGauge().GetXRadius();
I can't get a value for lXradius.
Using debugger, stepping over this call, I get an excedption in: file oledisp1.cpp,
in function: CCmdTarget::CallMemberFunc(const AFX_DISPMAP_ENTRY* pEntry, WORD wFlags,
VARIANT* pvarResult, DISPPARAMS* pDispParams, UINT* puArgErr).
When I don't use the above line, my application using the same Gauge series works just fine.
What can be the problem?
Thanks.
yvb