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 Microsoft .Net
 SPC Control Chart Tools for .Net
 Changing the color of chart alarm symbol
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

quahys

Malaysia
7 Posts

Posted - 03 Sep 2013 :  05:15:42  Show Profile  Reply with Quote
hi, Is there anyway to change low alarm symbol from blue to red color ?

quinncurtis

1586 Posts

Posted - 03 Sep 2013 :  08:57:12  Show Profile  Reply with Quote
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;
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