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
 SPC Control Chart Tools for .Net
 SPCApplicationControl sample data get rounded
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alice

25 Posts

Posted - 20 Feb 2008 :  13:49:56  Show Profile  Reply with Quote
All my sample data is like 4.64,4.53,4.66....basically between 4.5 to 4.8. But on the chart, they all get rounded to integer 5 with correct MEAN like 4.61.

I can not figuer out where the rounding happened. Thanks.

quinncurtis

1164 Posts

Posted - 20 Feb 2008 :  14:45:45  Show Profile  Reply with Quote
We assume you are referring to the sample item data in the table at the top of the SPC Chart.

Use code simliar to below

C#
this.ChartTable.SampleItemTemplate.DecimalPos = 2;


VB
Me.ChartTable.SampleItemTemplate.DecimalPos = 2


to set the decimal precision of those values. This does not affect the stored precision of the values, which is always stored as a double at full precision.

If this does not apply, please be more specific.
What SPC Chart type are you using ?
Exactly WHERE does the sample data appear rounded?
Go to Top of Page

Alice

25 Posts

Posted - 20 Feb 2008 :  14:59:07  Show Profile  Reply with Quote
Thank you! That works!

Another question: Is it possible to hide the top part of the ApplicationUserControl,which means only display the bottom charts, not sample data listed above?

Edited by - Alice on 20 Feb 2008 15:04:39
Go to Top of Page

quinncurtis

1164 Posts

Posted - 20 Feb 2008 :  15:14:35  Show Profile  Reply with Quote
Yes, you will find various options discussed in the manual, in Chapter 6 - SPC Variable Control Charts, in the section "Table Strings".
Go to Top of Page

Alice

25 Posts

Posted - 20 Feb 2008 :  15:51:20  Show Profile  Reply with Quote
Oops, my manual file "is damaged and could not be repaired" when I open it. Is there any site I can download that file?
Go to Top of Page

quinncurtis

1164 Posts

Posted - 20 Feb 2008 :  15:55:54  Show Profile  Reply with Quote
Did the manual get damaged before or after your installed the software, i.e. at any point in time since you purchased the software, have you ever looked at the manual, QCSPCChartNetManual.pdf ? If so, you should just reinstall the software from your original download.
Go to Top of Page

Alice

25 Posts

Posted - 20 Feb 2008 :  16:03:26  Show Profile  Reply with Quote
Great. I reinstalled the document and the manual comes back!
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