IEaxTitle.TagSelection

Syntax

TagSelection(Tag: String): IDimSelection;

Parameters

Tag. Metric substitution.

Description

The TagSelection property determines substitution for visualizer metric in express report header.

Comments

On value getting, the property processes substitution and returns copy of selection by metrics dimension where elements corresponding to substitution are selected.

On setting the value, the property extracts elements from selection and sets in visualizer metric (data slice for synchronized metrics) corresponding to substitution.

Substitutions visualization:

NOTE. In the Tag parameter write substitution without signs. For example, the &[Metric.Color] substitution describes as Metric.Color.

Example

Executing the example requires that the repository contains the following:

Add a link to the Dimensions system assembly.

Sub UserProc;
Var
    T: IEaxTitle;
    Sel: IDimSelection;
Begin
    T := UiErAnalyzer1.ErAnalyzer.TitleBar;
    Sel := T.TagSelection("BubbleChart.Metric.X");
    If Sel <> Null Then
        Debug.WriteLine("Metrics dimension selection - " + Sel.ToString(""","False));
    Else
        Debug.WriteLine("Metrics dimension is not found for specified substitution");
    End If;
End Sub UserProc;

After executing the example the console displays selection elements of metrics dimension.

See also:

IEaxTitle