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" }; |
|
|