DetailItemCollection AddExpression Method TIBCO Spotfire 6.5 API Reference
Adds a detail item based on an expression.

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

public ExpressionDetailItem AddExpression(
	string expression
)

Parameters

expression
Type: System String
The expression.

Return Value

Type: ExpressionDetailItem
An ExpressionDetailItem
Exceptions

ExceptionCondition
System ArgumentNullExceptionThe expression value is null.
Examples

This example shows how to add a detail that will display something like "Total Sales: 500" in the tooltip for a marker.
plot.Details.Items.AddExpression("SUM([Sales]) as Total Sales");
Version Information

Supported in: 6.5, 6.0, 5.5, 5.0, 4.5
See Also