TableColumnCollectionSetValueRenderer Method (DataColumn, TypeIdentifier) TIBCO Spotfire 7.12 API Reference
Sets the value renderer for the plot column corresponding to a given data column.

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

C#
public ValueRendererSettings SetValueRenderer(
	DataColumn dataColumn,
	TypeIdentifier rendererIdentifier
)

Parameters

dataColumn
Type: Spotfire.Dxp.DataDataColumn
The data column to set the renderer for.
rendererIdentifier
Type: Spotfire.Dxp.Framework.DocumentModelTypeIdentifier
The type identifier of the value renderer to set. ValueRendererTypeIdentifiers.VirtualValueRenderer cannot be used, use VirtualColumnProducers to add virtual values to the table plot.

Return Value

Type: ValueRendererSettings
The newly created value renderer settings.
Exceptions

ExceptionCondition
ArgumentExceptionThrown if the rendererIdentifier is VirtualValueRenderer. VirtualValueRenderer is not supported in the table plot, add a virtual column to the plot instead.
Version Information

Supported in: 7.9, 7.8, 7.7, 7.6, 7.5, 7.12, 7.11, 7.10, 7.0
See Also

Reference