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

 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 Alarm tooltip
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


23 Posts

Posted - 20 Jul 2018 :  05:55:44  Show Profile  Reply with Quote
Is there a way to customize the alarm tooltip? For certain data points I am forcing the alarm setting, and would like to have a custom alarm tooltip for those alarms.

I saw an older post in the forum from 2010, indicating that the basic format could not be changed, but perhaps things have changed in the mean time. I am using QCSPCChart+ 3.6.

I was looking into the JSONSPCAlarmEvent function, but I am not sure if this is actually for this purpose. Also, it is not completely clear to me when this event is triggered. I thought it would be on clicking the alarm, but that is not triggering the event for me (AlarmStateEventEnable is set to true).
In the examples SPCComplex and EnhQCSPCChartExample I put a debugger statement in the JSONSPCAlarmEvent function, but it looks like it is never triggering that function.

Alternatively, is it possible to disable the alarm tooltip. Then I could still show the alarm (but not the tooltip), and add the custom alarm message in the notes tooltip.


1571 Posts

Posted - 22 Jul 2018 :  17:14:22  Show Profile  Reply with Quote
Sorry, but I do not see any way to customize, or disable, the alarm status tooltip, while leaving the alarm status line enabled. You can disable the entire alarm status line easily enough by setting the EnableAlarmStatusValues under Events false, which makes it impossible to invoke the alarm status tooltip. Highlighting of the sample interval column in the table, and the symbol highlighting in the Primary and Secondary charts will still show that the sample interval is in alarm.

The JSONSPCAlarmEvent has nothing to do with clicking and tooltips. It is triggered when a sample interval is evaluated for alarms, and an alarm occurs. We checked the SPCComplex example program and if you add new data to the chart, an alarm is generated and the JSONSPCAlarmEvent function is invoked as expected.
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