Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 QCSPCChart for Javascript
 QCSPCChart for Javascript
 SPCChartStrings - Sigma not working

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
rsandbach Posted - 07 Jan 2019 : 13:23:56
I'm attempting to set the custom text for sigma in alarm messages, but it does not appear to be working. Perhaps I'm setting the wrong string. Violation works.

localQCSPCChartData.StaticProperties.SPCChartStrings = {
Sigma: "std dev.",
Violation: 'custom text for violation'
};

Resulting alarm message:

"12/14/2018 16:00:00
Primary chart: Basic Rule #2 custom text for violation 1 of 1 greater than 3-sigma=10.828
Current Value=30.000"

If possible, I'd like to be able to use different text for 1-sigma [std dev.], 2-sigma [std dev.], and 3-sigma [control limit].

We are using QCSPCChart+ SPC Control Chart Tools for Javascript (Rev. 3.6).

1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 07 Jan 2019 : 15:18:34
The Sigma keyword appears to have a space appended after it. So you will have to include that space in the keyword string. Your example was change to use quotes (") around the keywords, and use consistently the double quote (") around strings.


chartitem.StaticProperties.SPCChartStrings = {"Sigma ": "std dev.",
"Violation": "custom text for violation"
};

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