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: 51.0.16121.3915 (51.0.16121.3915)
Syntax
C#
public void SetPreferred( ColumnRelation relation )
Parameters
- relation
- Type: Spotfire.Dxp.DataColumnRelation
The column relation.
Exceptions
Exception | Condition |
---|---|
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 |
InvalidOperationException | The visualization does not have a data table. |
Version Information
Supported in: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also