Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 QCSPCChart for Javascript
 QCSPCChart for Javascript
 Access Chart Values

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
StevenCarleton Posted - 26 Nov 2018 : 16:17:42
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
4   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 14 Dec 2018 : 10:38:02
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.
StevenCarleton Posted - 13 Dec 2018 : 17:22:25
I see now: REVISION.TXT

Steven Carleton
StevenCarleton Posted - 13 Dec 2018 : 10:32:50
So the latest version is JSSPC2DEVRR2x2x3291x4 (version 4?) ??

Is there a readme that summarizes the changes from JSSPC2DEVRR2x2x3291x1?


Steven Carleton
quinncurtis Posted - 27 Nov 2018 : 11:16:09
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.

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07