Sets the curve expressions, including begin and end expressions.
Namespace: Spotfire.Dxp.Application.Visuals.FittingModels
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
public void SetCurveExpressions( ReferenceCurve curve, string expression, string beginExpression, string endExpression )
Parameters
- curve
- Type: Spotfire.Dxp.Application.Visuals.FittingModelsReferenceCurve
The curve. - expression
- Type: SystemString
The expression defining the curve. - beginExpression
- Type: SystemString
The begin expression. Specifying the value where the reference curve should begin. - endExpression
- Type: SystemString
The end expression. Specifying the value where the reference curve should end.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown if the curve is null. |
ArgumentNullException | Thrown if the expression, beginExpression or endExpression is null. |
ArgumentException | Thrown if the curve and this FittingModelConfigurator belong to different FittingModel instances. |
Examples
C#
FittingModelConfigurator configurator; configurator.SetCurveExpressions(curve, "5.0 * sin([X]) + 2.5", "10.0", "20.0");
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also