Sets the curve expression.
Namespace: Spotfire.Dxp.Application.Visuals.FittingModelsAssembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 18.10.8513.5432 (18.10.8513.5432)
Syntax
Parameters
- curve
- Type: Spotfire.Dxp.Application.Visuals.FittingModels ReferenceCurve
The curve.
- expression
- Type: System String
The expression defining the curve.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Thrown if the curve is null. |
System ArgumentNullException | Thrown if the expression is null. |
System ArgumentException | Thrown if the curve and this FittingModelConfigurator belong to different FittingModel instances. |
Examples
FittingModelConfigurator configurator;
configurator.SetCurveExpression(curve, "5.0 * sin([X]) + 2.5");
Version Information
See Also