Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 QCSPCChart for Javascript
 QCSPCChart for Javascript
 SPCChartStrings - Sigma not working
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic Next Topic  

rsandbach

USA
1 Posts

Posted - 07 Jan 2019 :  13:23:56  Show Profile  Reply with Quote
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).

quinncurtis

1562 Posts

Posted - 07 Jan 2019 :  15:18:34  Show Profile  Reply with Quote
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"
};
Go to Top of Page
   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