FittingModelConfiguratorSetPointExpressions Method

Spotfire 14.3 API Reference
Sets the point expressions.

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 SetPointExpressions(
	ReferencePoint point,
	string xExpression,
	string yExpression
)

Parameters

point
Type: Spotfire.Dxp.Application.Visuals.FittingModelsReferencePoint
The ReferencePoint on which to set the expressions.
xExpression
Type: SystemString
An expression that evaluates to the x coordinate of the point.
yExpression
Type: SystemString
An expression that evaluates to the y coordinate of the point.
Exceptions

ExceptionCondition
ArgumentNullException Thrown if the point is null.
ArgumentNullException Thrown if the xExpression is null.
ArgumentNullException Thrown if the yExpression is null.
ArgumentException Thrown if the point and this FittingModelConfigurator belong to different FittingModel instances.
Examples

The following example shows how to set the point expressions. The point will be located at x = 5 and y = 10.
C#
FittingModelConfigurator configurator;
configurator.SetPointExpressions(point, "5.0", "10.0");
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