VisualizationRelationsSetPreferred Method

Spotfire 14.3 API Reference
Sets the preferred column relation. The relation must be a reference to a column relation in the data manager.

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

C#
public void SetPreferred(
	ColumnRelation relation
)

Parameters

relation
Type: Spotfire.Dxp.DataColumnRelation
The column relation.
Exceptions

ExceptionCondition
ArgumentException The column relation does not exist in the data manager column relations. or The column relation does not contain an expression that refers to the main table of the visualization
InvalidOperationExceptionThe visualization does not have a data table.
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