Search found 17 matches

by jhameenniemi
Wed Oct 01, 2014 7:44 am
Forum: ActiveX
Topic: RemoveSeries does not release memory allocated to series
Replies: 1
Views: 8817

RemoveSeries does not release memory allocated to series

RemoveSeries does not release the memory allocated to the removed series. Included is a test application which removes an old bar series from chart and creates a new bar series to chart every 100 ms using a timer. If you open up TaskManager in Windows you'll see that the private bytes allocated for ...
by jhameenniemi
Mon Sep 29, 2014 7:09 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

Downloaded the lastest release and surprise surprise GDI+ intialization bug is once again back. Please, fix it. Thank you.
by jhameenniemi
Thu Dec 05, 2013 9:50 am
Forum: ActiveX
Topic: Drawing to a canvas from OnAfterDraw handler not working
Replies: 1
Views: 7570

Re: Drawing to a canvas from OnAfterDraw handler not working

Ok, I found a solution myself. TeeChart's Repaint() does the trick. The code was originally written for v8 which worked with InternalRepaint() just fine.

- Tero
by jhameenniemi
Thu Dec 05, 2013 7:45 am
Forum: ActiveX
Topic: Drawing to a canvas from OnAfterDraw handler not working
Replies: 1
Views: 7570

Drawing to a canvas from OnAfterDraw handler not working

Drawing to a TeeChart canvas from an OnAfterDraw event does not work anymore when GetEnvironment()->InternalRepaint() is called. Any drawing done from OnAfterDraw event handler to a canvas during InternalRepaint call is displayed only after series data is changed. Forcing window repaint using Invali...
by jhameenniemi
Fri Nov 22, 2013 8:41 am
Forum: ActiveX
Topic: Bar series and marks on bar
Replies: 5
Views: 14639

Re: Bar series and marks on bar

Test application. You can try different text alignment options by changing the code. Anyway, regardless of the text alignment selected labels do not start at the same position on the bar.
by jhameenniemi
Thu Nov 21, 2013 2:02 pm
Forum: ActiveX
Topic: Bar series and marks on bar
Replies: 5
Views: 14639

Re: Bar series and marks on bar

Ok. I made a mistake. Text alignment helps so that marks' text is not clipped but still marks do not start at the same position on the bar.
text align set to left.png
text align set to left.png (9.26 KiB) Viewed 14914 times
by jhameenniemi
Thu Nov 21, 2013 1:37 pm
Forum: ActiveX
Topic: Bar series and marks on bar
Replies: 5
Views: 14639

Bar series and marks on bar

TeeChart ActiveX 2013 and GDI rendering. I am trying to put marks on bars. I have mark's text at 90 degrees and style is set to smsLabel (default). If some of the bars have labels set some of the marks do not show correctly: smsLabel and labels on bar start.png If same bars have no labels set marks ...
by jhameenniemi
Thu Nov 14, 2013 8:21 am
Forum: ActiveX
Topic: How can I get access to Series->Marks->Text->Emboss from C++
Replies: 1
Views: 7503

How can I get access to Series->Marks->Text->Emboss from C++

TeeChart Pro v.2013.0.1.0 and MS VC++ 2010. How can I get access to Series->Marks->Text->Emboss from C++? series.GetMarks().GetFont() has GetShadow(), GetOutline(), etc. but not GetEmboss(). series.GetMarks() has GetEmboss() but that's Series->Marks->Emboss i.e. not what I need. Emboss.png Thanks. B...
by jhameenniemi
Thu Nov 14, 2013 8:07 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

Any plans to make this fix permanent and included in maintenance release builds? It is a pita to ask special .ocx version for every maintenance release.
by jhameenniemi
Thu Jun 06, 2013 8:23 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

Yeray,

you are correct. 2012.0.0.9 works OK. I did not realize that 2012.0.0.9 and 2013.0.1.0 cannot co-exist in the same machine which I think was a natural assumption because file names are different (TeeChart2012.ocx vs. TeeChart2013.ocx).
by jhameenniemi
Wed Jun 05, 2013 6:20 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

Any chance you get this fixed fast? We have a deadline approaching and need to rollback to v 8 if this is not fixed in a week or two. Thanks.
by jhameenniemi
Wed Jun 05, 2013 6:16 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

TeeChart ActiveX v 8. 2012.0.0.9 does not work as well as 2013.0.1.0. We have not used anything between v 8 and 2012.0.0.9.
by jhameenniemi
Tue Jun 04, 2013 11:33 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

OK. We found the reason for the deadlock. TeeChart calls GdiplusStartup and GdiPlusShutdown which it should not do. Here is a Remark section from MSDN for GdiplusStartup: Remarks Do not call GdiplusStartup or GdiplusShutdown in DllMain or in any function that is called by DllMain. If you want to cre...
by jhameenniemi
Tue Jun 04, 2013 9:15 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Re: Application process is not terminated

Unfortunately we cannot reproduce this problem using a simple test program. Here is a call stack from our application: Call stack.PNG As we do not have symbols for TeeChart we cannot look any further to the problem ourselves. If you have any suggestions how to proceed feel free to contact privately ...
by jhameenniemi
Fri May 31, 2013 11:24 am
Forum: ActiveX
Topic: Application process is not terminated
Replies: 18
Views: 49751

Application process is not terminated

TeeChart V. 2013.0.1.0, C++ MFC application. TeeChart component is a member of a CView derived class and chart is created using .Create API function: .h CTChart m_wndChart; .cpp m_wndChart.Create(_T(""), WS_CHILD|WS_VISIBLE, chartRect, this, ID_CHART) When application is closed the application proce...