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

 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Scrolling changes point color in JavaScript cntrl
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

KeithF

USA
1 Posts

Posted - 19 Jan 2016 :  17:01:38  Show Profile  Reply with Quote
When scrolled so that the most recent data is in the middle of the control, the out-of-control points are colored properly - red for those above the upper control limit, blue for those below the lower control limt. As the pointer is moved to the left, the out-of-control points on the right side of the chart start to turn green, first the rightmost ones, then the next ones to the left, until finally when the chart is scrolled all the way to the right (the pointer is all the way to the left) all the out-of-control points on the right half of the chart are green, while those on the left half remain properly colored. Is this a known bug?

quinncurtis

1586 Posts

Posted - 20 Jan 2016 :  09:54:52  Show Profile  Reply with Quote
We can't reproduce the problem you describe. Can you reproduce the problem using one of our unmodified example programs? If so which one, and which specific chart if it has more than one. If not, can you supply us with the JSON script which reproduces the problem. You can send it to support@quinn-curtis.com.
Go to Top of Page

quinncurtis

1586 Posts

Posted - 14 Mar 2016 :  08:43:31  Show Profile  Reply with Quote

Thank for sending the example. It would have been impossible to identify the problem otherwise.

I was able to isolate the problem to a single parameter, the TimeIncrementMinutes property. You have that value set to 15, but time stamps in your data have an increment of 5 minutes. Some internal calculation which uses the TimeIncrementMinutes property to calculate the current scroll bar position is going haywire if that value is completely out of whack with the actual data time increment. If you change TimeIncrementMinutes to 5, I believe the alarms are consistent, and other anomalies associated with the scrollbar go away. If you want to see all of the points, increase the NumDatapointsInView to 20. Please test that on your end and let us know the results.

We now recommend that you try and always use the Batch Control Charts, instead of the Time Control Charts. With batch control charts you can have a varying time increment between sample intervals, while still displaying time stamps, as an option, on the x-axis similar, to the Time Control Charts. The TimeIncrementMinutes has no effect on Batch Control Charts. The manual discusses the differences between Time, and Batch control charts.
Go to Top of Page
  Previous Topic 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