TableColumnCollectionSetValueRenderer Method (VirtualColumn, TypeIdentifier)

TIBCO Spotfire 11.4 API Reference
Sets the value renderer for the plot column corresponding to a given virtual column.

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 ValueRendererSettings SetValueRenderer(
	VirtualColumn virtualColumn,
	TypeIdentifier rendererIdentifier
)

Parameters

virtualColumn
Type: Spotfire.Dxp.Data.VirtualColumnsVirtualColumn
The virtual 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: 11.4, 11.3, 11.2, 11.1, 11.0, 10.10, 7.11
See Also

Reference