TableColumnCollectionSetValueRenderer Method (DataColumn, TypeIdentifier)

Spotfire 14.3 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: 65.0.19510.3242 (65.0.19510.3242)
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: 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