time taken to plot the graph
Posted: Tue Nov 10, 2009 9:46 pm
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.
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.