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#)
 question on compression
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

juanxiao

5 Posts

Posted - 26 Mar 2004 :  16:19:24  Show Profile  Reply with Quote
hi,

I'm not sure what the interval parameter means in the CompressSimpleDataset function. Could you give me an example of this function? I want to compress my data by averaging every 10 data points.

thanks!

jx

quinncurtis

1164 Posts

Posted - 26 Mar 2004 :  16:48:29  Show Profile  Reply with Quote
Doumentation for functions not discussed in the QCChart2DNetManual.pdf user manual can usually be found in the Documentaion.chm file.

For the interval function:

interval
The number of data points in each segment that is reduced to a single datapoint (two for the DATACOMPRESS_MINMAX compression type) in the compressed dataset.

So if you are using the DATACOMPRESS_MINMAX method use an interval of 20, otherwise use an interval of 10.

If you are working with a SimpleDataset, use CompressSimpleDataset, if you are using a TimeSimpleDataset, use CompressTimeSimpleDataset.

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