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
 Draw lines at specification limits on ChartView
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

lilly

7 Posts

Posted - 27 Feb 2008 :  16:01:16  Show Profile  Reply with Quote
I am using GetInitializeChart function to generate the chart. I want draw the lines at specification limits?

quinncurtis

1164 Posts

Posted - 27 Feb 2008 :  16:46:06  Show Profile  Reply with Quote
We don't what you mean with "GetInitializeChart". We can find no function with that name in the QCSPCChart software.

Please expand on you use of the QCSPCChart software. What type of SPC Chart are you using. Do you want specification limits in addition to SPC control limits? Specification limits are typically not part of an SPC Control Chart.




Go to Top of Page

lilly

7 Posts

Posted - 28 Feb 2008 :  09:22:30  Show Profile  Reply with Quote
I am generating x bar or mean chart using Chart view class. I need to draw lines at specification limits as well as at control limits and fill with colors.
Go to Top of Page

quinncurtis

1164 Posts

Posted - 28 Feb 2008 :  12:11:27  Show Profile  Reply with Quote
There is another thread, "Specification Limits on Control Chart" that discusses this issue. You should read that first.

The software does not contain special methods for adding specification limits to a chart. Instead you must use an SPC control limit line to acheive the same effect, as seen below:

SPCControlLimitRecord	lcl2 = new SPCControlLimitRecord(this.ChartData, 
   SPCControlLimitRecord.SPC_LOWERTHAN_LIMIT, 0,"L SPEC", "L SPEC");
this.PrimaryChart.AddAdditionalControlLimit(lcl2, SPCChartObjects.SPC_MEASURED_VARIABLE, 1);
lcl2.ControlLimitValue = 15;
this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_LOWER_CONTROL_LIMIT_2).LinePlot.LineColor  = Color.Green;

SPCControlLimitRecord	ucl2 = new SPCControlLimitRecord(this.ChartData, 
   SPCControlLimitRecord.SPC_GREATERTHAN_LIMIT, 0,"H SPEC", "H SPEC");
this.PrimaryChart.AddAdditionalControlLimit(ucl2, SPCChartObjects.SPC_MEASURED_VARIABLE, 1);
ucl2.ControlLimitValue = 38;
this.PrimaryChart.GetControlLimitData(SPCChartObjects.SPC_UPPER_CONTROL_LIMIT_2).LinePlot.LineColor  = Color.Yellow;




There are no options to fill the area between limit lines with a unique fill color.

As discussed on the other thread referenced above, the software contained a bug the prevented the call of the AddNewSampleRecord routine after AutoCalculateControlLimits, when used with additional control limits. This bug has been fixed and you will need to update your software by downloading it again using your original download links.





Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07