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 Java
 QCSPCChart SPC for Java
 CalculatedItemTemplate | DecimalPos
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Josh

23 Posts

Posted - 17 Dec 2008 :  15:27:43  Show Profile  Reply with Quote
I'm creating an X-Bar & R chart, and I have noticed that chartData.getCalculatedItemTemplate().setDecimalPos() only appears to affect SUM and NO. INSP. values. MEAN and RANGE are not getting the proper decimal position.

Is this a bug, or is there another method that I should be using to set the decimal position for these items? I've searched through the forums and the PDFs, and could not find anything that addressed this issue.

I'm using a trial version which was downloaded a couple of weeks ago. The PDF for Java SPC shows a revision of 1.7.

Thanks,
Josh

Josh

23 Posts

Posted - 17 Dec 2008 :  16:33:48  Show Profile  Reply with Quote
One additional detail: it's specifically a SPCBatchVariableControlChart that I'm working with.

I also just tested against SPCTimeVariableControlChart and got the same results.
Go to Top of Page

quinncurtis

1586 Posts

Posted - 17 Dec 2008 :  18:09:41  Show Profile  Reply with Quote
Use the setCalculatedValueDecimalPrecision method of the charts ChartData.

chartData.setCalculatedValueDecimalPrecision(2);
Go to Top of Page

Josh

23 Posts

Posted - 19 Dec 2008 :  13:35:15  Show Profile  Reply with Quote
Perfect! Thank you.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07