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