VDISoft.SPC.Charts.ChartRules


Public Properties


Name
Description
FailedSampleMarkings
Gets and sets the type of marking to use for rule failures.
Item
Gets and sets an individual rule of the collection.
MaxRunLength
Gets the maximum run length for all rules of the collection.
MultiFailureMarker
Gets and sets the marker to use if there are multiple rule failures.
PointMarker
Gets and sets the marker to use if there is a rule failure.
Results
Gets the results of the rules calculations.
RuleMarking
Gets and sets the place where the marker is located for failed rules.
Rules
Gets the underlying Rules collection.
Samples
Gets and sets the Samples collection for the chart. This constitutes the dataset of the chart.

Public Methods


Name
Description
Add
Add a rule to the collection.
Calculate
Run the rules of the collection on the dataset for the chart.
Clear
Clear the rules out of the collection.
Clone
Create a clone of the ChartRules collection.
Dispose
Dispose of the ChartRules instance.
GetObjectData
This method is called upon the serialization of a ChartRules collection.
GetRuleFromResultRule
Returns the ChartRule object that wraps the same as the Rule object.
OnDeserialization
This method is called upon the deserialization of a ChartRules collection.
Remove
Remove a rule from the collection.
RulesToDo
Returns the number of rules that are to be tested.

Public Events


Name
Description
ChartRuleDoRuleChanged
Occurs when the ChartRule:DoRule of the ChartRule changes.
ChartRuleFailed
Occurs when a ChartRule fails.
ChartRuleFailLengthChanged
Occurs when the ChartRule:FailLength of the ChartRule changes.
ChartRuleLimitLowerChanged
Occurs when the ChartRule:LimitLower of the ChartRule changes.
ChartRuleLimitUpperChanged
Occurs when the ChartRule:LimitUpper of the ChartRule changes.
ChartRuleLowerLimitChanged
Occurs when the ChartRule:LowerLimit of the ChartRule changes.
ChartRuleRunLengthChanged
Occurs when the ChartRule:RunLength of the ChartRule changes.
ChartRuleTypeChanged
Occurs when the ChartRule:Type of the ChartRule changes.
ChartRuleUpperLimitChanged
Occurs when the ChartRule:UpperLimit of the ChartRule changes.
RuleFailed
Occurs when a Rule fails.

Protected Methods


Name
Description
ChartRuleDoRuleChangedListener
A listener for rules of the collection.
ChartRuleFailLengthChangedListener
A listener for rules of the collection.
ChartRuleLimitLowerChangedListener
A listener for rules of the collection.
ChartRuleLimitUpperChangedListener
A listener for rules of the collection.
ChartRuleLowerLimitChangedListener
A listener for rules of the collection.
ChartRuleRunLengthChangedListener
A listener for rules of the collection.
ChartRuleTypeChangedListener
A listener for rules of the collection.
ChartRuleUpperLimitChangedListener
A listener for rules of the collection.
Dispose
Dispose of the ChartRules instance.
InitializeListeners
Initializes the listeners for the collection.
Internal_GetHighestPriorityRuleFromRuleResults
Returns the rule with the highest priority.
RuleFailedListener
A listener for rules of the collection.
UninitializeListeners
Uninitializes the listeners for the collection.