Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCSPCChart SPC for Java
 customize alarm message and tooltip contents

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
alex Posted - 27 May 2010 : 06:15:02
I got few questions when trying the SPCChart.
First, we found that SPCchart can display the sample data in tooltip when we click a plot on primary chart.But is it possible to customize the tooltip's contents? such as other production informations.

And second, can I customize the alarm message of a limit record or WE rule violate?
for example:
the default rule violated message looks like below:

2010-05-25 21:00:00
Primary Chart: WE Upper Limit Rule #4 Violation=0.000
Current Value=65.742


is it possible to customize above message with specified format or contents?
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 27 May 2010 : 09:41:06
You cannot customize the data tooltips, for when you click on a data point. You can however add a note for a given sample interval. A notes tool tip is displayed when you click on the Notes field for a sample interval. See the example TimeVariableControlCharts.XBarRChart. Notes are added using one of the AddNewSampleRecord methods.

String notesstring = "This is a note";
this.ChartData.AddNewSampleRecord(timestamp, samples, notesstring);


You can change the alarm message string of a WE rule, but you cannot change the basic format. You can do the same with the SPC_LOWER_CONTROL_LIMIT_# limits.

this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_UPPER_CONTROL_LIMIT_3).ControlLimitRecord.AlarmMessage = "Rule #1";
this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_UPPER_CONTROL_LIMIT_2).ControlLimitRecord.AlarmMessage = "Rule #2";
this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_UPPER_CONTROL_LIMIT_1).ControlLimitRecord.AlarmMessage = "Rule #3";
this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_UPPER_CONTROL_LIMIT_0).ControlLimitRecord.AlarmMessage = "Rule #4";

A rule #1 rule violation will now look like:

2010-05-25 21:00:00
Rule #1 =25.73
Current Value=26.742



Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07