Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 QCChart2D and QCChart2D CF (VB and C#)
 performance problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

juanxiao

5 Posts

Posted - 26 Mar 2004 :  12:07:23  Show Profile  Reply with Quote
Hi, I have a chart in a one week range(xAxis). And I have a (x, y) value(y is in double) associates with every 36 seconds. So I have 16800 pairs of (x,y) for this chart. I'm currntly using vb.net. It takes 17 seconds to plot. Is there any way to speed it up? I tried both SimpleLinePlot and SimpleScatterPlot. SimpleScatterPlot seems a couple seconds faster. But still too slow.

Thanks!

jx

quinncurtis

1164 Posts

Posted - 26 Mar 2004 :  12:52:46  Show Profile  Reply with Quote
First thing to realize is the .Net is not a performance language.

Our FAQ section, Question 19, for QCChart2D discusses how compression techniques can speed up rendering of plots with many data points. Using the

int compressXmode = ChartObj.DATACOMRESS_AVERAGE;

int compressYmode = ChartObj.DATACOMRESS_MINMAX;

reducing the number of data points to 1-2K, more in-line with the horizontal resolution of th screen could speed up drawing 5-10 times.

Otherwise there is no switch that will speed things.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07