Hi,
I just want to know how long does it take to load a data file and plot the data points on the fastline graph?
My program is using FastLine Graph and data file has 1.5M in size. From exported excel file analysis, there will be 77,000 data points. It would only take a second to draw all those data point in excel graph.
Why is my program is takeing 7 or 8 sec to plot those data on the graph?
I am using Delphi 2010 and v2010 pro version.
Loading data time - taking so long
-
- Newbie
- Posts: 16
- Joined: Wed May 18, 2005 4:00 am
- Location: Sydney, Australia
- Contact:
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Loading data time - taking so long
Hi Matt,
When loading data from datasource TeeChart internally populates series point by point as you'd do manually. You would probably enhance your application performance following what is suggested in the Real-time Charting article here. It would be ideal if you could load your data file into an array and assign it directly to the series as done in the article.
When loading data from datasource TeeChart internally populates series point by point as you'd do manually. You would probably enhance your application performance following what is suggested in the Real-time Charting article here. It would be ideal if you could load your data file into an array and assign it directly to the series as done in the article.
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 |
-
- Newbie
- Posts: 16
- Joined: Wed May 18, 2005 4:00 am
- Location: Sydney, Australia
- Contact:
Re: Loading data time - taking so long
Hi Narcis,Narcís wrote:Hi Matt,
When loading data from datasource TeeChart internally populates series point by point as you'd do manually. You would probably enhance your application performance following what is suggested in the Real-time Charting article here. It would be ideal if you could load your data file into an array and assign it directly to the series as done in the article.
Thanks for the article about real-time charting. I will try to follow the suggestion from the article.
Do you know how long does it take to plot a million data points. What's the expectation loading time for a million data points?
Regards
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Loading data time - taking so long
Hi Matt,
We can not provide absolute values for that is it strongly depends on the power of the machine where the code runs and also the methods used to populate the series. As a benchmark you could run the All Features\Welcome!\Speed examples in the features demo, available the TeeChart program group, on your machine.
We can not provide absolute values for that is it strongly depends on the power of the machine where the code runs and also the methods used to populate the series. As a benchmark you could run the All Features\Welcome!\Speed examples in the features demo, available the TeeChart program group, on your machine.
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 |