FittingModelConfigurator SetPointExpressions Method TIBCO Spotfire 6.0 API Reference
Sets the point expressions.

Namespace: Spotfire.Dxp.Application.Visuals.FittingModels
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 13.19.7018.3940 (13.19.7018.3940)
Syntax

public void SetPointExpressions(
	ReferencePoint point,
	string xExpression,
	string yExpression
)

Parameters

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

ExceptionCondition
System ArgumentNullException Thrown if the point is null.
System ArgumentNullException Thrown if the xExpression is null.
System ArgumentNullException Thrown if the yExpression is null.
System 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.
FittingModelConfigurator configurator;
configurator.SetPointExpressions(point, "5.0", "10.0");
See Also