Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 SPC Control Chart Tools for .Net
 Changing the color of chart alarm symbol

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
quahys Posted - 03 Sep 2013 : 05:15:42
hi, Is there anyway to change low alarm symbol from blue to red color ?
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 03 Sep 2013 : 08:57:12
You can initialize a static property, SPCControlLimitRecord.DefaultLowAlarmColor, before you create the chart.

SPCControlLimitRecord.DefaultLowAlarmColor = Color.Red;

// Initialize the SPCTimeVariableControlChart
this.InitSPCTimeVariableControlChart(charttype,
numsamplespersubgroup, numdatapointsinview, timeincrementminutes);

This color change will apply to all charts after you set the static property. There are default static properties for all of the control limit colors:


SPCControlLimitRecord.DefaultLowAlarmColor = Color.Blue;
SPCControlLimitRecord.DefaultHighAlarmColor = Color.Red;
SPCControlLimitRecord.DefaultTargetColor = Color.Green;
SPCControlLimitRecord.DefaultTrendingColor = Color.Tan;
SPCControlLimitRecord.DefaultStratificationColor = Color.Salmon;
SPCControlLimitRecord.DefaultAlternatingColor = Color.Orange;

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