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

TeeChart for ActiveX, COM and ASP
Post Reply
jeff_whittaker
Newbie
Newbie
Posts: 1
Joined: Wed Sep 05, 2007 12:00 am

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

Post by jeff_whittaker » Fri May 23, 2008 7:10 pm

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 26, 2008 7:33 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply