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;
|
|
|