TChart Pro v2015 ActiveX : ClearChart Error

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 24
Joined: Tue Apr 28, 2015 12:00 am

TChart Pro v2015 ActiveX : ClearChart Error

Post by nbp » Thu Jun 18, 2015 10:56 pm

I had integrated TChart2015 ActiveX and it was working. But I am not sure what I changed but now seem to be getting an error clearing the chart (pChart->ClearChart()).

Has anything changed? Here is the code snippet:

int numCharts = pParent->GetNumTotalCharts();
UINT tempID = 99 + numCharts;

CTChart* pChart = new CTChart();
pChart->Create(NULL, WS_CHILD | WS_VISIBLE, newChartRect, this, tempID );
pChart->ClearChart();

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TChart Pro v2015 ActiveX : ClearChart Error

Post by Yeray » Fri Jun 19, 2015 11:09 am

Hello,

I can clear a simple chart without problems using the latest v2015.0.0.2.
If you are sure it was a change in your code, try going back to try to find the breaking change.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply