ReferenceCurveFittingModelExpression Property

Spotfire 14.3 API Reference
Gets or sets the expression defining this curve.

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 string Expression { get; set; }

Property Value

Type: String
Exceptions

ExceptionCondition
ArgumentException Thrown if the expression is invalid.
Examples

The following example shows how to set the expression.
C#
ReferenceCurveFittingModel curve;
curve.Expression = "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

Reference