Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Control Limit label in javascript chart

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
ajaypowral Posted - 24 Aug 2016 : 16:12:40
Hi, I want to hide the control limit labels on the right side of the chart if I don't specify a control limit value inside SetLimits array. I tried uploading screen shot but couldn't do it.

Here is what I am trying to do -
"PrimaryChartSetup": {
"ControlLimits": {
"DefaultLimits": [true, true],
"SetLimits": [30, 27, null],
}

If I have null in UCL then I want to hide the right hand side label for UCL which currently shows like "UCL-S3=0.0".

Similar to this, if I set following -
"PrimaryChartSetup": {
"ControlLimits": {
"DefaultLimits": [false, false],
"SetLimits": [null, null, null],
}

then I want to hide all the labels on the right hand side but currently it shows "XBAR=0.0"

Please advise if there is any way to hide the right hand side labels based on the requirements.
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 25 Aug 2016 : 08:46:42
You can disable the control limit labels (EnableAlarmLineText), the control limit line (EnableAlarmLine), and the alarm checking (EnableAlarmChecking), all using the ControlLimits | Target, LCL3 and UCL3 property blocks of the PrimaryChartSetup. ControlLimits is also found under the SecondaryChartSetup. See the CustomizeChartAppearance example script in the chartdefExampleScripts.js file . In the example below the alarm text has been disabled for LCL3 limit, and enabled for the Target and UCL3 limit, using the "EnableAlarmLineText" property.

		        "PrimaryChartSetup": {
		            "ControlLimits": {
		                "Target": {
		                    "EnableAlarmLine": true,
		                    "EnableAlarmChecking": true,
		                    "LimitValue": 30,
		                    "EnableAlarmLineText": true
		                },
		                "LCL3": {
		                    "EnableAlarmLine": true,
		                    "EnableAlarmChecking": true,
		                    "LimitValue": 25,
		                    "EnableAlarmLineText": false
		                },
		                "UCL3": {
		                    "DisplayString": "UCLXX",
		                    "EnableAlarmLine": true,
		                    "EnableAlarmChecking": true,
		                    "LimitValue": 35,
		                    "EnableAlarmLineText": true
		                }
		            }
		        },

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