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 & .Net Compact Framework
 SPC Control Chart Tools for .Net
 Chart customizations: labels, colors
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gsoldavi

Italy
15 Posts

Posted - 10 Feb 2017 :  12:32:41  Show Profile  Reply with Quote
Dears,

I need to customize labels and in particular:
a) on table:
- ABS(RANGE)
- SAMPLE
- NO.INSP
b) on chart:
- LCL-S3

I've seen documentation but I'm not able to set it. Please can you help me on it?
Best regards,
Giorgio

quinncurtis

1534 Posts

Posted - 13 Feb 2017 :  16:48:53  Show Profile  Reply with Quote
Are you asking this question before, or after you read Chapter 11, Regionalization for non-USA English Markets, in the QCSPCChart manual? If you have studied that chapter and the examples therein, and still cannot change the strings, describe exactly how you attempted to implement it.
Go to Top of Page

gsoldavi

Italy
15 Posts

Posted - 14 Feb 2017 :  02:39:51  Show Profile  Reply with Quote
Hi,

yes sorry, I was searching for a complete list of customizable labels and I've finally found it on manual.
Thank you.
Go to Top of Page

gsoldavi

Italy
15 Posts

Posted - 16 Feb 2017 :  11:16:55  Show Profile  Reply with Quote
Hi,

is there a way to set background color of an highlighed record on table?
Go to Top of Page

quinncurtis

1534 Posts

Posted - 16 Feb 2017 :  14:36:51  Show Profile  Reply with Quote
Please clarify. The background color of a highlighted sample interval record tracks the alarm color of the chart symbol for that sample interval, which by default is Red for a high alarm, and Blue for a low alarm.

1. Do you want to change the highlight color for a single record (to Magenta for example), while leaving all the rest of the highlighted records at their default alarm color value (Red or Blue). (This is not possible)

2. Or do you want to change the alarm symbol color, and background color for all highlighted records, of a given alarm type (high alarm or low alarm for example). (Possible)
Go to Top of Page

gsoldavi

Italy
15 Posts

Posted - 17 Feb 2017 :  05:27:27  Show Profile  Reply with Quote
We see blue and red highlights (and also light red and light blue).
We would like to set ALL highlights for all alarms in chart to red.
Go to Top of Page

quinncurtis

1534 Posts

Posted - 17 Feb 2017 :  13:12:32  Show Profile  Reply with Quote
You can achieve that using:
this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_LOWER_CONTROL_LIMIT).ControlLimitRecord.SymbolColor = Color.Red;

this.SecondaryChart.GetControlLimitData(SPCChartObjects.SPC_LOWER_CONTROL_LIMIT).ControlLimitRecord.SymbolColor = Color.Red;

It will change the symbol color of the line to Red when the low limit is violated, and the background color of the table for that sample interval. It does not change the color of the low limit line.
Go to Top of Page

gsoldavi

Italy
15 Posts

Posted - 20 Feb 2017 :  04:56:25  Show Profile  Reply with Quote
Great!
One more detail: what about nelson rules background alarms.
In particular I'm actually not able to change light red related to "X values between one sigma".

Thank you.
Go to Top of Page

quinncurtis

1534 Posts

Posted - 20 Feb 2017 :  08:56:40  Show Profile  Reply with Quote
You can change the default color for that (stratification) using static properties in the SPCControlRecordLimit class.

SPCControlLimitRecord.DefaultStratificationColor = Color.Tan;

Two others which may be of interest.

SPCControlLimitRecord.DefaultTrendingColor = Color.Salmon;
SPCControlLimitRecord.DefaultAlternatingColor = Color.Orange;

Since they are static, change them before you create any of the charts.
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