Page 1 of 1

High-low line chart problem (VC2005; AX 8.0.0.3)

Posted: Fri May 23, 2008 7:10 pm
by 15046620
Hi,

I am trying to modify the high-low line chart pointer styles for my chart. When I use GetHighPointer() or GetLowPointer(), I get a run-time "Member not found" dialog.

Here is a snippet of the code in question:

int iSeries = m_pChart->AddSeries(scHighLowLine);
CSeries series = m_pChart->Series(iSeries);
series.GetAsHighLowLine().AddHighLow(dXValue, dYValueHigh, dYValueLow, NULL, COLOR_GREEN);
series.GetAsHighLowLine().GetHighPointer().SetStyle(psCircle);

The call to AddHighLow works fine, and produces the desired results in the chart. When I add the GetHighPointer() or GetLowPointer() calls, that's when the problem shows up.

I am using the wrapper classes that shipped with AX 8.0.0.3. I have generated new wrapper classes to compare the dispatch IDs, and it all seems to be correct.

Is there a known problem with modifying the pointers in a high-low line chart? I have modified pointers for other chart types in this manner before, and it worked fine.

Thanks,

- Jeff

--
Jeff Whittaker

Posted: Mon May 26, 2008 7:33 am
by narcis
Hi Jeff,

I imagine this is a problem with VC++ classes as it works fine in VB6. I've added the issue (TA05013069) to our defect list to be fixed for next releases.