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 Javascript/Typescript
 QCSPCChart for Javascript/GWT
 Access Chart Values
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

StevenCarleton

USA
7 Posts

Posted - 26 Nov 2018 :  16:17:42  Show Profile  Reply with Quote
We need to store the calculated chart values (Range, Xbar, UCL, LCL, etc.). How can I access these, either on the browser or server side?

Steven Carleton

quinncurtis

1585 Posts

Posted - 27 Nov 2018 :  11:16:09  Show Profile  Reply with Quote
We added the ability to retrieve the HCL, Target and LCL from the Primary and Secondary charts to the latest version of the software, as part of the pushGetJSONOverallStatistics JSNI call. You can download the current version using your original download links. Rename the old GWTJavascript folder before installing it so that it goes into a clean folder, and doesn't just overwrite the old files.

From the current manual, page 388:

pushGetJSONOverallStatistics
The pushGetJSONOverallStatistics returns statistics calculated using all of the data, rather than a single sample interval of data. It returns the overall statistics data in a JSON structure, which can be parsed into a Javascript object. The format of the JSON structure is:

{
"SPCOverallStatistics": {
"ChartType":string,
"NumberOfCharts": int,
"NumberOfSampleIntervals":int,
"PrimaryChart": {
"Mean": double,
"Minimum": double,
"Maximum": double,
"Range": double,
"StandardDevation": double,
"Median": double,
"Variance": double,
"UCL3": double,
"Target": double,
"LCL3": double
},
"SecondaryChart": {
"Mean": double,
"Minimum": double,
"Maximum": double,
"Range": double,
"StandardDevation": double,
"Median": double,
"Variance": double,
"UCL3": double,
"Target": double,
"LCL3": double
},
"ProcessPerformance": {
"Cpk": double,
"Cpm":double,
"Ppk": double,
.
.
.

}
}
}

In actual use, a filled-out SPCOverallStatistics would look like:

{
"SPCOverallStatistics": {
"ChartType": "MEAN_RANGE_CHART",
"NumberOfCharts": 2,
"NumberOfSampleIntervals": 60,
"PrimaryChart": {
"Mean": 29.983142222229475,
"Minimum": 25.482478927553114,
"Maximum": 34.476685371240386,
"Range": 8.994206443687272,
"StandardDeviation": 2.336294386647534,
"Median": 30.082618566756053,
"Variance": 5.458271461080777,
"UCL3": 35.08998767593801,
"Target": 29.983142222229475,
"LCL3": 24.876296768520937
},
"SecondaryChart": {
"Mean": 8.850685361713235,
"Minimum": 3.801051543907956,
"Maximum": 11.593146884947827,
"Range": 7.792095341039872,
"StandardDevation": 2.314209860374365,
"Median": 9.640872833575247,
"Variance": 5.355567277853939,
"UCL3": 18.710348854661777,
"Target": 8.850685361713235,
"LCL3": 0
},
"ProcessPerformance": {
"Cpk": 0.17125640122162375,
"Cpm": 0.3385273201944916,
"Ppk": 0.13191522282471005
}
}
}

The process performance indices will include all process performance indices added to the chart in the charts ProcessCapabilitySetup section of the chart SPCChart.TableSetup.ProcessCapabilitySetup block, as seen below.

"ProcessCapabilitySetup": {
"LSLValue": 27,
"USLValue": 35,
"EnableCPK": true,
"EnableCPM": true,
"EnablePPK": true
}

Example
The pushGetJSONOverallStatistics function is used in the SPCMediumSimple and SPCMediumComplex examples.
Go to Top of Page

StevenCarleton

USA
7 Posts

Posted - 13 Dec 2018 :  10:32:50  Show Profile  Reply with Quote
So the latest version is JSSPC2DEVRR2x2x3291x4 (version 4?) ??

Is there a readme that summarizes the changes from JSSPC2DEVRR2x2x3291x1?


Steven Carleton
Go to Top of Page

StevenCarleton

USA
7 Posts

Posted - 13 Dec 2018 :  17:22:25  Show Profile  Reply with Quote
I see now: REVISION.TXT

Steven Carleton
Go to Top of Page

quinncurtis

1585 Posts

Posted - 14 Dec 2018 :  10:38:02  Show Profile  Reply with Quote
The x4 at the end of the download file is not the revision number, it represents the nth (4th in this case) time you have downloaded the software using your download link.
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