Hi,
I am using "TeeChart5Activex" (ver 5.0.6.0) control with Visual c++ (VS2005). Here I am using "Fastline" series to plot the timeseries graphs. It works fine with less number of point but while adding (m_pChart->Series(0)->AddXY(dXAxis, dYAxis , sTime, clTeeColor);) large number points (around 190000) it crash!
May I know is it possible to add that much number of points to the series?
How many numbers of points we can add it to the FastLine series? Is it possible to configure the size of the series?
Thanks in anticipation.
How many points can be added to series
Re: How many points can be added to series
Hi Abhijit,
There is no limit of number of points imposed by TeeChart but each machine has a memory capacity that imposes this.
Could you please try if the problem is solved or if your application works better with the actual evaluation version?
There is no limit of number of points imposed by TeeChart but each machine has a memory capacity that imposes this.
Could you please try if the problem is solved or if your application works better with the actual evaluation version?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: How many points can be added to series
Hi Yeray,
My machine RAM is 4GB.
what should I try? I am using "TeeChart Pro ActiveX 5" version(5.0.6.0). [for which I am having license]
My machine RAM is 4GB.
what should I try? I am using "TeeChart Pro ActiveX 5" version(5.0.6.0). [for which I am having license]
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: How many points can be added to series
Hi Abhijit,
http://www.steema.com/downloads/form_ax_eval.html
If the problem persists please attach a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
I think plotting 190000 points in FastLine series shouldn't be a problem and less considering this memory amount .My machine RAM is 4GB.
As Yeray suggested you could try if TeeChart Pro v8 ActiveX evaluation version solves the problem. You can download the fully functional evaluation version here:what should I try? I am using "TeeChart Pro ActiveX 5" version(5.0.6.0). [for which I am having license]
http://www.steema.com/downloads/form_ax_eval.html
If the problem persists please attach a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: How many points can be added to series
Hi Narcis,
Thanks for the suggestion, but the problem we my application is part of Software suite were we have multiple application using "Teechart Pro ActiveX 5" as common.
Even if my single application use latest version will not solve the problem for others and it is not easy replace previous version of Teechart.
I think the problem is not with plotting around 250000 points on single graph using Teechart control, but what if there are more than 20 graphs each have to plot around 250000 of points using Teechart control. I hope it will cause the memory issue with Teechart control to hold that much amount of data.
FYI:
I am using API "m_pChart->Series(0)->AddXY(dXAxis, dYAxis , sTime.AllocSysString(), clTeeColor);" to add points to the Fastline series.
I hope you understand my problem. How to handle this situation?
Thanks for the suggestion, but the problem we my application is part of Software suite were we have multiple application using "Teechart Pro ActiveX 5" as common.
Even if my single application use latest version will not solve the problem for others and it is not easy replace previous version of Teechart.
I think the problem is not with plotting around 250000 points on single graph using Teechart control, but what if there are more than 20 graphs each have to plot around 250000 of points using Teechart control. I hope it will cause the memory issue with Teechart control to hold that much amount of data.
FYI:
I am using API "m_pChart->Series(0)->AddXY(dXAxis, dYAxis , sTime.AllocSysString(), clTeeColor);" to add points to the Fastline series.
I hope you understand my problem. How to handle this situation?
Re: How many points can be added to series
Hi Out there,
I hope I am not clear with my question, hence no reply .
One addition the real problem I found while adding large data points to chart/series using method "AddXY" is that if you specify the "label" parameter (not NULL) then it takes lots of memory and also decrease in the performance. I tried "AddXY" without adding label to it and it seems working for me. But that don't solve my problem because need label to be added to chart.
I hope I am not clear with my question, hence no reply .
One addition the real problem I found while adding large data points to chart/series using method "AddXY" is that if you specify the "label" parameter (not NULL) then it takes lots of memory and also decrease in the performance. I tried "AddXY" without adding label to it and it seems working for me. But that don't solve my problem because need label to be added to chart.
Re: How many points can be added to series
Hi Abhijit,
I recommend you to take a look at the Real-time Charting article where some interesting tips are described in order to improve the performance when having a big amount of data. In particular I'd recommend you to set autorepaint=false and force the chart to be repainted when you've finished adding values. Otherwise, the chart is repainted after each point addition.
Regarding the difference you are denoting with AddXY method "with labels", could you please send us a simple example project we can run as-is to reproduce this here?
I recommend you to take a look at the Real-time Charting article where some interesting tips are described in order to improve the performance when having a big amount of data. In particular I'd recommend you to set autorepaint=false and force the chart to be repainted when you've finished adding values. Otherwise, the chart is repainted after each point addition.
Regarding the difference you are denoting with AddXY method "with labels", could you please send us a simple example project we can run as-is to reproduce this here?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |