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
 JSON Chart EnableCpk flag
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ajaypowral

USA
21 Posts

Posted - 08 Aug 2016 :  16:05:29  Show Profile  Reply with Quote
Hi, I am working on embedding SPC chart in a web application. I don't need to show table on top of the chart so I use "UseNoTable" configuration and removed "TableSetup" block from JSON definition.
But, now when I call pushGetJSONOverallStatistics() method, I don't get CPK value as part of the response.
If I enable CPK using following syntax, it also shows on top of chart (which I don't need).
"TableSetup": {
"ChartData": {
"ProcessCapabilitySetup": {
"EnableCPK": true
}
}
},

My question is "Is there a way that I get CPK value but don't show it on top of chart"?

quinncurtis

1586 Posts

Posted - 09 Aug 2016 :  09:35:17  Show Profile  Reply with Quote
The EnableCPK flag that you set, under ChartData, enables the calculation of an individual process capability value, CPK in your example. Another (EnableProcessCapabilityValues) controls the display of all process capability values as a group and it is set true by default. So you just need to turn it off. It is located under the TableSetup section. The CPK value (and any other Process Capability values you enable) will still show up in the pushGetJSONOverallStatistics statistics.

"TableSetup": {
"HeaderStringsLevel": "HEADER_STRINGS_LEVEL1",
"EnableInputStringsDisplay": true,
"EnableCategoryValues": false,
"EnableCalculatedValues": false,
"EnableTotalSamplesValues": false,
"EnableNotes": false,
"EnableTimeValues": false,
"EnableNotesToolTip": false,
"EnableAlarmStatusValues": false,
"EnableProcessCapabilityValues": false,
"TableBackgroundMode": "TABLE_NO_COLOR_BACKGROUND",
"TableAlarmEmphasisMode": "ALARM_HIGHLIGHT_BAR",
"ChartAlarmEmphasisMode": "ALARM_HIGHLIGHT_SYMBOL",
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