ControlChart.EvaluateRules Method

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0

Overload List

EvaluateRules(ControlRuleSet) Evaluates a rule set against the fitted chart statistics.
EvaluateRules(ControlRuleSet, String) Evaluates a rule set against the named chart series's fitted statistics and stamps each resulting violation with the series name.

EvaluateRules(ControlRuleSet)

Evaluates a rule set against the fitted chart statistics.
C#
public RuleEvaluationResult EvaluateRules(
	ControlRuleSet ruleSet
)

Parameters

ruleSet  ControlRuleSet
The rule set to evaluate.

Return Value

RuleEvaluationResult
A RuleEvaluationResult describing any violations found.

Exceptions

InvalidOperationException The chart is not in the Fitted state.
ArgumentNullExceptionruleSet is null.

EvaluateRules(ControlRuleSet, String)

Evaluates a rule set against the named chart series's fitted statistics and stamps each resulting violation with the series name.
C#
public RuleEvaluationResult EvaluateRules(
	ControlRuleSet ruleSet,
	string componentName
)

Parameters

ruleSet  ControlRuleSet
The rule set to evaluate.
componentName  String
The name of the series to evaluate, for example "IndividualsSeries" or "MovingRangesSeries" for an IndividualsMovingRangeChartSet.

Return Value

RuleEvaluationResult
A RuleEvaluationResult describing any violations found. Each violation's ComponentName is set to componentName.

Exceptions

InvalidOperationException The chart is not in the Fitted state.
ArgumentNullExceptionruleSet or componentName is null.
NotSupportedException The concrete chart type does not support series-aware rule evaluation.

See Also