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
 Which Process Capability Records Exist?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mbowden

8 Posts

Posted - 10 Nov 2010 :  16:14:40  Show Profile  Reply with Quote
I have charts on several tab pages and I allow the users to move through the tab pages and optionally toggle various Process Compatibility Values on and off with checkboxes by using:

ChartData.AddProcessCapabilityValue(SPCProcessCapabilityRecord.SPC_*)

As I move through the tab pages, I need to read the SPC Process Compatibility Values that are currently showing in each chart's datagrid and then set my checkboxes because each tab page's chart may be showing different Process Capability records. The problem is, so far I cannot find a property that will tell me this information.

Is there an easy way to interogate a chart and find out which SPCProcessCapabilityRecords have been added and are currently visible?

quinncurtis

1586 Posts

Posted - 10 Nov 2010 :  16:42:21  Show Profile  Reply with Quote
The GetProcessCapabilityRecord will return the SPCProcessCapabilityRecord at a given index. You can then look at the CalculationType property.

Something like this should work:

for (int i = 0; i < ChartData.NumProcessCapabilityValues; i++)
{
    SPCProcessCapabilityRecord pc = ChartData.GetProcessCapabilityRecord(i);
    int pctype = pc.CalculationType;
}
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