Hi, I'm trying to update my chart because I want to see control limits changing in order to values from a stored procedure. Last week I sent an email to the support and they told me to see the mediumSimpleDataUpdate.js file in the QCSPCChartGWTWar folder and they also told me I can include the SpecifyControlLimitsUsingMeanAndSigma in the PrimaryChartSetup and SecondaryChartSetup sections at top, like this:
{
"SPCChart": {
"PrimaryChartSetup": {
"ControlLimits": {
"SpecifyControlLimitsUsingMeanAndSigma": {
"Mean": 32,
"Sigma": 2.666
}
}
},
"SecondaryChartSetup": {
"ControlLimits": {
"SpecifyControlLimitsUsingMeanAndSigma": {
"Mean": 3.1,
"Sigma": 1.1
}
}
},
"SampleData": {
"SampleIntervalRecords": [{
"SampleValues": [
27.53131515148628,
33.95771604022404,
24.310097827061817,
28.282642847792765,
30.2908518818265
],
"BatchCount": 20,
"TimeStamp": 1371830829074,
"Note": ""
},
{
"SampleValues": [
27.444285005240214,
34.38930645615096,
28.0203674441636,
33.27153359969366,
36.8305571558275
],
"BatchCount": 21,
"TimeStamp": 1371831729074,
"Note": ""
},
......
when I call the pushJSONChartUpdate (after the pushJSONChartCreate), i see this error in console:
"com.google.gwt.core.client.JavaScriptException: (TypeError) : toEscape.replace is not a function" and i don't see my changes.
What can I do to avoid this error?
Thanks!
Alessio