Hi,
I am extracting data from SybaseIQ and plotting it using the add method
while (rdr.Read() )
{
DateTime dt = (System.DateTime)rdr.GetValue(0);
Double latency = (Double)rdr.GetValue(1);
f1.points1.Add(dt,latency);
f1.fastline1.Add(dat, latency);
}
There are 20 million data points that get plotted on one graph and it is taking approximately 2 hours to produce it.
I timed the data retrival process and that takes only a few minutes.
Clearly, the delay caused is because of the tool. Is there any way i can fasten the process. Please advise.
time taken to plot the graph
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: time taken to plot the graph
Hi cs_ech,
You could set AutoRepaint to false before populating series and set AutoRepaint to back to true after it. I recommend you to read the Real-time Charting article here for optimizing TeeChart's performance. This is a Delphi article but most of it also applies to TeeChart for .NET.
You could set AutoRepaint to false before populating series and set AutoRepaint to back to true after it. I recommend you to read the Real-time Charting article here for optimizing TeeChart's performance. This is a Delphi article but most of it also applies to TeeChart for .NET.
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 |